diff options
Diffstat (limited to 'iphone/Maps')
-rw-r--r-- | iphone/Maps/Core/Framework/ProxyObjects/Routing/MWMRoutingManager.mm | 2 | ||||
-rw-r--r-- | iphone/Maps/Core/Routing/MWMRouter.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Core/Framework/ProxyObjects/Routing/MWMRoutingManager.mm b/iphone/Maps/Core/Framework/ProxyObjects/Routing/MWMRoutingManager.mm index bed148eb03..fa280c4afa 100644 --- a/iphone/Maps/Core/Framework/ProxyObjects/Routing/MWMRoutingManager.mm +++ b/iphone/Maps/Core/Framework/ProxyObjects/Routing/MWMRoutingManager.mm @@ -144,7 +144,7 @@ auto const pointsCount = points.size(); if (pointsCount > 1) { - self.rm.BuildRoute(0 /* timeoutSec */); + self.rm.BuildRoute(); } else { if (errorPtr) { if (pointsCount == 0) { diff --git a/iphone/Maps/Core/Routing/MWMRouter.mm b/iphone/Maps/Core/Routing/MWMRouter.mm index 8c596c5788..7adeed32e3 100644 --- a/iphone/Maps/Core/Routing/MWMRouter.mm +++ b/iphone/Maps/Core/Routing/MWMRouter.mm @@ -427,7 +427,7 @@ void logPointEvent(MWMRoutePoint * point, NSString * eventType) self.type = routerType(rm.GetBestRouter(points.front().m_position, points.back().m_position)); [[MWMMapViewControlsManager manager] onRouteRebuild]; - rm.BuildRoute(0 /* timeoutSec */); + rm.BuildRoute(); } + (void)start |