Skip to content

Commit

Permalink
[routing] Bugfix. Route rebuilding happens now after downloading traf…
Browse files Browse the repository at this point in the history
…fic jams.
  • Loading branch information
bykoianko authored and mesozoic-drones committed Dec 26, 2019
1 parent 985cb5e commit d067e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map/routing_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1129,8 +1129,8 @@ void RoutingManager::CheckLocationForRouting(location::GpsInfo const & info)
m_routingSession.RebuildRoute(
mercator::FromLatLon(info.m_latitude, info.m_longitude),
[this](Route const & route, RouterResultCode code) { OnRebuildRouteReady(route, code); },
nullptr /* needMoreMapsCallback */, nullptr /* removeRouteCallback */, 0 /* timeoutSec */,
SessionState::RouteRebuilding, true /* adjustToPrevRoute */);
nullptr /* needMoreMapsCallback */, nullptr /* removeRouteCallback */,
RouterDelegate::kNoTimeout, SessionState::RouteRebuilding, true /* adjustToPrevRoute */);
}
}

Expand Down

0 comments on commit d067e76

Please sign in to comment.