diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-08-06 00:31:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:23:42 +0300 |
commit | a43d4251fd32b88569884ca41d4ba22e3de8b045 (patch) | |
tree | f93e85a40fa718a54b5fe58e5bfef7110b237048 /map/pin_click_manager.hpp | |
parent | 63c2234ba46f95020f158a440dc675c8b6e16c0a (diff) |
Base libraries C++11 sources compatibility
Diffstat (limited to 'map/pin_click_manager.hpp')
-rw-r--r-- | map/pin_click_manager.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/map/pin_click_manager.hpp b/map/pin_click_manager.hpp index 0a9d229ff4..8f9a5d0e66 100644 --- a/map/pin_click_manager.hpp +++ b/map/pin_click_manager.hpp @@ -41,8 +41,10 @@ private: /// @name Platform dependent listeners to show special activities. //@{ // You must delete UserMarkCopy obtained by this callback - function<void (UserMarkCopy *)> m_userMarkListener; - function<void (void)> m_dismissListener; + typedef function<void (UserMarkCopy *)> TUserMarkListener; + TUserMarkListener m_userMarkListener; + typedef function<void (void)> TDismissListener; + TDismissListener m_dismissListener; public: template <class T> void ConnectUserMarkListener(T const & t) { m_userMarkListener = t; } |