diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2015-07-17 18:22:41 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:56:32 +0300 |
commit | da975cfed369a1f5e3c89b45f419db57236eb141 (patch) | |
tree | 1dbdc044d4c983b627b3e9ad7ff4c06e3c9d844f /map/framework.hpp | |
parent | 3c5bb1746c29c54a40a16efaba9c6c2eb5500c74 (diff) |
Added explicit parameter timeout in BuildRoute function
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index 7e802191a6..bd8cfc3664 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -559,7 +559,7 @@ public: bool IsRoutingActive() const { return m_routingSession.IsActive(); } bool IsRouteBuilt() const { return m_routingSession.IsBuilt(); } bool IsRouteBuilding() const { return m_routingSession.IsBuilding(); } - void BuildRoute(m2::PointD const & destination, uint32_t timeoutSec = 0); + void BuildRoute(m2::PointD const & destination, uint32_t timeoutSec); typedef function<void(routing::IRouter::ResultCode, vector<storage::TIndex> const &, vector<storage::TIndex> const &)> TRouteBuildingCallback; void SetRouteBuildingListener(TRouteBuildingCallback const & callback) { m_routingCallback = callback; } |