diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-07-23 16:46:09 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:35 +0300 |
commit | b82e23bea4bbc0a5813b2f078b2a78e0916d9105 (patch) | |
tree | 93fd901bab7bd1974a65ed42dee96c347ddae678 /map/framework.hpp | |
parent | c96d94d18003ba7eac5a16c189dbe37a0b173a90 (diff) |
Style improvements.
Diffstat (limited to 'map/framework.hpp')
-rw-r--r-- | map/framework.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/map/framework.hpp b/map/framework.hpp index f4d1d7127c..48191cb773 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -565,11 +565,8 @@ public: typedef function<void(routing::IRouter::ResultCode, vector<storage::TIndex> const &, vector<storage::TIndex> const &)> TRouteBuildingCallback; typedef function<void(float)> TRouteProgressCallback; - void SetRouteBuildingListener(TRouteBuildingCallback const & buildingCallback, TRouteProgressCallback const & progressCallback) - { - m_routingCallback = buildingCallback; - m_progressCallback = progressCallback; - } + void SetRouteBuildingListener(TRouteBuildingCallback const & buildingCallback, + TRouteProgressCallback const & progressCallback); void FollowRoute() { GetLocationState()->StartRouteFollow(); } void CloseRouting(); void GetRouteFollowingInfo(location::FollowingInfo & info) { m_routingSession.GetRouteFollowingInfo(info); } |