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:
authorvng <viktor.govako@gmail.com>2015-07-16 14:32:32 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:57:12 +0300
commit1540281383893c5ae1eeec648390ed8a00e2d0f0 (patch)
treee3f1e90a2297a022a69d6b03dfd5bda7bc7daca4 /indexer/index.hpp
parent8fdd97d52366659ec16cf4d4edf3ab98f96b0874 (diff)
Distinguish feature’s ids storing policy according to mwm version (bits or raw set).
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp
index 2c390db385..d7c21ba0d5 100644
--- a/indexer/index.hpp
+++ b/indexer/index.hpp
@@ -120,7 +120,7 @@ private:
pValue->m_factory);
// iterate through intervals
- CheckUniqueIndexes checkUnique;
+ CheckUniqueIndexes checkUnique(header.GetFormat() >= version::v5);
MwmId const mwmID = handle.GetId();
for (auto const & i : interval)
@@ -167,7 +167,7 @@ private:
pValue->m_factory);
// iterate through intervals
- CheckUniqueIndexes checkUnique;
+ CheckUniqueIndexes checkUnique(header.GetFormat() >= version::v5);
MwmId const mwmID = handle.GetId();
for (auto const & i : interval)