Review fixes.

This commit is contained in:
Vladimir Byko-Ianko 2018-09-28 09:22:30 +03:00 committed by Vlad Mihaylenko
parent 235a398b8e
commit 83a5b3d0d6

View file

@ -70,10 +70,7 @@ bool CheckRoute(routing::VehicleType type, ms::LatLon const & start, ms::LatLon
ReferenceRoutes candidates(referenceTracks.size());
for (size_t i = 0; i < candidates.size(); ++i)
{
candidates[i].m_factor = 1.0;
candidates[i].m_waypoints = move(referenceTracks[i]);
}
return CheckWaypoints(move(params), move(candidates)) == 1.0;
}