Use the correct driving_side property on the arrive step. (#4708)

Use the correct driving_side property on the arrive step.
This commit is contained in:
Daniel Patterson
2017-11-27 13:16:33 -08:00
parent 7137459fb0
commit 531b281b73
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ inline std::vector<RouteStep> assembleSteps(const datafacade::BaseDataFacade &fa
leg_geometry.locations.size() - 1,
leg_geometry.locations.size(),
{intersection},
facade.IsLeftHandDriving(source_node_id)});
facade.IsLeftHandDriving(target_node_id)});
BOOST_ASSERT(steps.front().intersections.size() == 1);
BOOST_ASSERT(steps.front().intersections.front().bearings.size() == 1);