diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-05-30 18:56:42 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:16:30 +0300 |
commit | 52ad88e431e61268b6f809672f8546aa8225e677 (patch) | |
tree | 5fb28e2f729c2d9a1d6cd7099bbf448bc1bb8b1f /map/bookmark.cpp | |
parent | fc7c42fd8b825083bbe15c86084016c9d00e9d75 (diff) |
[core] transfer UserMarkCopy for platform-specific code.
[core] transfer UserMarkCopy for platform-specific code.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r-- | map/bookmark.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp index 990cb177d7..a1adad3392 100644 --- a/map/bookmark.cpp +++ b/map/bookmark.cpp @@ -26,6 +26,11 @@ #include "../std/algorithm.hpp" #include "../std/auto_ptr.hpp" +UserMarkCopy *Bookmark::Copy() const +{ + return new UserMarkCopy(this, false); +} + graphics::DisplayList * Bookmark::GetDisplayList(UserMarkDLCache * cache) const { return cache->FindUserMark(UserMarkDLCache::Key(GetType(), graphics::EPosAbove, GetContainer()->GetDepth())); |