check empty name string in roundabout handler
This commit is contained in:
parent
11d491e00f
commit
b777fb1052
@ -295,7 +295,8 @@ RoundaboutType RoundaboutHandler::getRoundaboutType(const NodeID nid) const
|
|||||||
return SPECIAL_EDGEID;
|
return SPECIAL_EDGEID;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (EMPTY_NAMEID != edge_data.name_id)
|
const auto &edge_name = name_table.GetNameForID(edge_data.name_id).to_string();
|
||||||
|
if (!edge_name.empty())
|
||||||
{
|
{
|
||||||
|
|
||||||
const auto announce = [&](unsigned id) {
|
const auto announce = [&](unsigned id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user