check empty name string in roundabout handler
This commit is contained in:
parent
3f7b5da683
commit
d5232d5f5c
@ -295,7 +295,8 @@ RoundaboutType RoundaboutHandler::getRoundaboutType(const NodeID nid) const
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user