diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-06-18 12:31:41 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:18:08 +0300 |
commit | 331234daed8aa6206d896c644bc389bff3e084f0 (patch) | |
tree | b8eb8c59069401b7bb38f0e708cb562eda30a610 /map/user_mark_container.cpp | |
parent | 44644d6f1491b2058b7e6f30ea0b9dba11cfe4e4 (diff) |
[core] bookmark test fix
Diffstat (limited to 'map/user_mark_container.cpp')
-rw-r--r-- | map/user_mark_container.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/user_mark_container.cpp b/map/user_mark_container.cpp index e31f624164..7330154323 100644 --- a/map/user_mark_container.cpp +++ b/map/user_mark_container.cpp @@ -163,8 +163,8 @@ namespace void UserMarkContainer::InitPoiSelectionMark(UserMarkContainer * container) { - ASSERT(s_selectionUserMark == NULL, ()); - s_selectionUserMark.reset(new PoiMarkPoint(container)); + if (s_selectionUserMark == NULL) + s_selectionUserMark.reset(new PoiMarkPoint(container)); } PoiMarkPoint * UserMarkContainer::UserMarkForPoi() |