diff --git a/map/routing_manager.cpp b/map/routing_manager.cpp index 7c75141657..b3df14242b 100644 --- a/map/routing_manager.cpp +++ b/map/routing_manager.cpp @@ -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 */); } }