PR fixes.

This commit is contained in:
Lev Dragunov 2015-10-06 12:09:58 +03:00
parent 816b90c161
commit 817b8b3024

View file

@ -86,10 +86,12 @@ void RoutingSession::DoReadyCallback::operator()(Route & route, IRouter::ResultC
UNUSED_VALUE(guard);
if (e != IRouter::NeedMoreMaps)
{
m_rs.AssignRoute(route, e);
}
else
{
for (string const & country: route.GetAbsentCountries())
for (string const & country : route.GetAbsentCountries())
m_rs.m_route.AddAbsentCountry(country);
}