diff options
Diffstat (limited to 'map')
-rw-r--r-- | map/routing_manager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/routing_manager.hpp b/map/routing_manager.hpp index 83d10f068d..08bca01b61 100644 --- a/map/routing_manager.hpp +++ b/map/routing_manager.hpp @@ -137,7 +137,7 @@ public: bool IsOnRoute() const { return m_routingSession.IsOnRoute(); } bool IsRoutingFollowing() const { return m_routingSession.IsFollowing(); } bool IsRouteValid() const { return m_routingSession.IsRouteValid(); } - void BuildRoute(uint32_t timeoutSec); + void BuildRoute(uint32_t timeoutSec = routing::RouterDelegate::kNoTimeout); void SetUserCurrentPosition(m2::PointD const & position); void ResetRoutingSession() { m_routingSession.Reset(); } // FollowRoute has a bug where the router follows the route even if the method hads't been called. |