[Routing] crashfix in case of routes passing through loop edges.

This commit is contained in:
Vladimir Byko-Ianko 2016-12-20 15:42:19 +03:00
parent 89e2b9e6fe
commit 774f2ab5bf

View file

@ -66,7 +66,6 @@ void IndexGraphStarter::RedressRoute(vector<Joint::Id> const & route,
RoadGeometry const roadGeometry = m_graph.GetGeometry().GetRoad(featureId);
CHECK_NOT_EQUAL(pointFrom, pointTo, ("featureId =", featureId));
uint32_t const step = pointFrom < pointTo ? 1 : -1;
for (uint32_t prevPointId = pointFrom; prevPointId != pointTo; prevPointId += step)