From d067e760a3218df218119ca6034f5c1f70ea9b24 Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Thu, 26 Dec 2019 08:13:16 +0300 Subject: [PATCH] [routing] Bugfix. Route rebuilding happens now after downloading traffic jams. --- map/routing_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */); } }