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:
authorAlex Zolotarev <deathbaba@gmail.com>2012-09-06 14:46:06 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:43:06 +0300
commit66afd37cc6204975545a071b11f2a87416e77e4b (patch)
tree8f984d275912535fa0718db84d5aa96ee3118010 /map/bookmark.hpp
parent3aabb33fb24db5204d58f9325db8c481ed961669 (diff)
[win] Fixed some compilation errors. Only OpenGL errors left
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r--map/bookmark.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp
index 4adfb8b00d..af162f7060 100644
--- a/map/bookmark.hpp
+++ b/map/bookmark.hpp
@@ -71,3 +71,8 @@ public:
/// Non-const category is needed to "edit" bookmark (actually, re-add it)
typedef pair<BookmarkCategory *, Bookmark const *> BookmarkAndCategory;
+inline BookmarkAndCategory MakeEmptyBookmarkAndCategory()
+{
+ return BookmarkAndCategory(reinterpret_cast<BookmarkAndCategory::first_type>(0),
+ reinterpret_cast<BookmarkAndCategory::second_type>(0));
+}