Adapt test to returning ref, Take Pronunciation into Account, Fixes name change heuristic usage in UTurn check
This commit is contained in:
committed by
Daniel J. H
parent
ccdebccde1
commit
6ac9617d49
@@ -242,11 +242,7 @@ RoundaboutType RoundaboutHandler::getRoundaboutType(const NodeID nid) const
|
||||
|
||||
const auto announce = [&](unsigned id) {
|
||||
return util::guidance::requiresNameAnnounced(
|
||||
name_table.GetNameForID(id),
|
||||
name_table.GetRefForID(id),
|
||||
name_table.GetNameForID(edge_data.name_id),
|
||||
name_table.GetRefForID(edge_data.name_id),
|
||||
street_name_suffix_table);
|
||||
id, edge_data.name_id, name_table, street_name_suffix_table);
|
||||
};
|
||||
|
||||
if (std::all_of(begin(roundabout_name_ids), end(roundabout_name_ids), announce))
|
||||
|
||||
Reference in New Issue
Block a user