don't assign exit in arrive when ending in roundabout

This commit is contained in:
Moritz Kobitzsch
2016-12-21 09:33:15 +01:00
parent 3b2ca720a8
commit dff7fe214b
4 changed files with 11 additions and 3 deletions
@@ -259,6 +259,8 @@ inline std::vector<RouteStep> assembleSteps(const datafacade::BaseDataFacade &fa
BOOST_ASSERT(steps.back().intersections.front().lanes.first_lane_from_the_right ==
INVALID_LANEID);
BOOST_ASSERT(steps.back().intersections.front().lane_description.empty());
// depart and arrive need to be trivial
BOOST_ASSERT(steps.front().maneuver.exit == 0 && steps.back().maneuver.exit == 0);
return steps;
}