Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Gorshenin <ygorshenin@chromium.org>2015-03-11 18:48:58 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:38:48 +0300
commit8fdbf7ad9730aeaf152f8956e76c495368954b9d (patch)
tree21563aebe2bba51e51b7fe3546a47d0c6c4bb5f8 /qt/draw_widget.hpp
parent1ab260d29a389dda2daebc258ae29f97c19bd6c8 (diff)
[bookmark] Fixed memory leaks in UserMarkCopy.
Diffstat (limited to 'qt/draw_widget.hpp')
-rw-r--r--qt/draw_widget.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/draw_widget.hpp b/qt/draw_widget.hpp
index 136aa8be93..c4f1b49f7c 100644
--- a/qt/draw_widget.hpp
+++ b/qt/draw_widget.hpp
@@ -112,7 +112,7 @@ namespace qt
void StartPressTask(m2::PointD const & pt, unsigned ms);
bool KillPressTask();
void OnPressTaskEvent(m2::PointD const & pt, unsigned ms);
- void OnActivateMark(UserMarkCopy * pCopy);
+ void OnActivateMark(unique_ptr<UserMarkCopy> pCopy);
protected:
/// @name Overriden from base_type.