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-10-12 12:56:42 +0300
committervng <viktor.govako@gmail.com>2015-10-12 15:34:54 +0300
commit9476c8fbcbd04f411e2e6ab42fb730b0c6d33b23 (patch)
treebc02ed3cc9fb7f884fd0fe7a41039835717ceb2a /indexer/index.cpp
parent93fb8cdc33a6a515c4de798f773680db1562a05d (diff)
Review fixes.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index cafe3c4213..ecda41c2c7 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -24,13 +24,13 @@ MwmValue::MwmValue(LocalCountryFile const & localFile)
void MwmValue::SetTable(MwmInfoEx & info)
{
- auto const ver = GetHeader().GetFormat();
- if (ver < version::v5)
+ auto const version = GetHeader().GetFormat();
+ if (version < version::v5)
return;
if (!info.m_table)
{
- if (ver == version::v5)
+ if (version == version::v5)
info.m_table = feature::FeaturesOffsetsTable::CreateIfNotExistsAndLoad(m_file, m_cont);
else
info.m_table = feature::FeaturesOffsetsTable::Load(m_cont);