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:
authorYuri Gorshenin <y@maps.me>2016-09-21 17:25:16 +0300
committerYuri Gorshenin <y@maps.me>2016-09-27 16:29:47 +0300
commit5951f4c0f834a139a78aa375e839b84ebde75bd4 (patch)
tree55313679578a29fa47aa07078334377692189bc0 /indexer/index.hpp
parent87312eac6498904a0f33cf51fe3524aff83b61cc (diff)
[search] Fixed locality matching code.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp
index b593e25b2f..3f43d2b707 100644
--- a/indexer/index.hpp
+++ b/indexer/index.hpp
@@ -54,6 +54,9 @@ public:
inline feature::RegionData const & GetRegionData() const { return m_factory.GetRegionData(); }
inline version::MwmVersion const & GetMwmVersion() const { return m_factory.GetMwmVersion(); }
inline string const & GetCountryFileName() const { return m_file.GetCountryFile().GetName(); }
+
+ inline bool HasSearchIndex() { return m_cont.IsExist(SEARCH_INDEX_FILE_TAG); }
+ inline bool HasGeometryIndex() { return m_cont.IsExist(INDEX_FILE_TAG); }
};
class Index : public MwmSet