diff options
author | vng <viktor.govako@gmail.com> | 2015-10-12 12:56:42 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-10-12 15:34:54 +0300 |
commit | 9476c8fbcbd04f411e2e6ab42fb730b0c6d33b23 (patch) | |
tree | bc02ed3cc9fb7f884fd0fe7a41039835717ceb2a /indexer/index.cpp | |
parent | 93fb8cdc33a6a515c4de798f773680db1562a05d (diff) |
Review fixes.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 6 |
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); |