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:
authorMaxim Pimenov <m@maps.me>2016-04-27 18:31:39 +0300
committerAlex Zolotarev <alex@maps.me>2016-05-01 10:28:03 +0300
commit920f2577a35aba443ee33abf36050f7d0c66a505 (patch)
treec5bd60d11d032435e4d22c559c0ea71eb9fe676e /indexer/categories_index.hpp
parent21e50e2d5e3f2fca71cc4da012e6d2687ed773a2 (diff)
Now types are also returned along with category names.
Diffstat (limited to 'indexer/categories_index.hpp')
-rw-r--r--indexer/categories_index.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/categories_index.hpp b/indexer/categories_index.hpp
index 02ac8d104e..7fb5a310c7 100644
--- a/indexer/categories_index.hpp
+++ b/indexer/categories_index.hpp
@@ -63,6 +63,9 @@ public:
#endif
private:
+ // There is a raw pointer instead of const reference
+ // here because this class may be used from Objectvie-C
+ // so a default constructor is needed.
CategoriesHolder const * m_catHolder = nullptr;
my::MemTrie<string, uint32_t> m_trie;
};