Remove check unnamed check in sliproad handler

This commit is contained in:
Michael Krasnyk 2017-12-23 19:04:24 +01:00
parent 60551d209d
commit d5ffbc6a9a
No known key found for this signature in database
GPG Key ID: 49C12AD0F43D2108
2 changed files with 3 additions and 6 deletions

View File

@ -1096,4 +1096,4 @@ Feature: Slipways and Dedicated Turn Lanes
When I route I should get When I route I should get
| waypoints | route | turns | locations | | waypoints | route | turns | locations |
| s,f | road,,, | depart,turn right,turn slight right,arrive | s,a,c,f | | s,f | road,, | depart,turn right,arrive | s,a,f |

View File

@ -475,10 +475,7 @@ operator()(const NodeID /*nid*/, const EdgeID source_edge_id, Intersection inter
// Name mismatch: check roads at `c` and `d` for same name // Name mismatch: check roads at `c` and `d` for same name
const auto name_mismatch = [&](const NameID road_name_id) { const auto name_mismatch = [&](const NameID road_name_id) {
const auto unnamed = name_table.GetNameForID(road_name_id).empty(); return util::guidance::requiresNameAnnounced(road_name_id, //
return unnamed ||
util::guidance::requiresNameAnnounced(road_name_id, //
candidate_data.name_id, // candidate_data.name_id, //
name_table, // name_table, //
street_name_suffix_table); // street_name_suffix_table); //