diff options
author | Yuri Gorshenin <ygorshenin@chromium.org> | 2015-03-13 13:47:42 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:39:06 +0300 |
commit | e300e2b4313b9eb2fa9d5ef3cdad1216ffec03fa (patch) | |
tree | fe4ba1deabc22930e7e92f05dffb55bf1b04d4e1 /map/user_mark_container.hpp | |
parent | e8919af8ae240b37a652d93a1b82b969326dd8aa (diff) |
[bookmarks] Fixed memory leaks in Bookmarks test.
Diffstat (limited to 'map/user_mark_container.hpp')
-rw-r--r-- | map/user_mark_container.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/map/user_mark_container.hpp b/map/user_mark_container.hpp index b09a7b3b06..ce530764dd 100644 --- a/map/user_mark_container.hpp +++ b/map/user_mark_container.hpp @@ -9,6 +9,7 @@ #include "../std/deque.hpp" #include "../std/noncopyable.hpp" +#include "../std/unique_ptr.hpp" class Framework; @@ -26,7 +27,7 @@ namespace graphics class UserMarkContainer : private noncopyable { public: - using UserMarksListT = deque<UserMark *>; + using UserMarksListT = deque<unique_ptr<UserMark>>; class Controller { |