diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-01-13 13:01:01 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:32 +0300 |
commit | 7da95d1f1cafd4945c2e3b8f38a6d3e8ea5c6250 (patch) | |
tree | 5b29edadb08bfa374653bf4f1e65c5ea7c1f72ec /indexer/index.cpp | |
parent | ad94413e8581d428c03f22af4ef3382f6241d31c (diff) |
enum Format -> enum class Format. Style.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp index 8ac5b5060a..90a6139419 100644 --- a/indexer/index.cpp +++ b/indexer/index.cpp @@ -27,12 +27,12 @@ MwmValue::MwmValue(LocalCountryFile const & localFile) void MwmValue::SetTable(MwmInfoEx & info) { auto const version = GetHeader().GetFormat(); - if (version < version::v5) + if (version < version::Format::v5) return; if (!info.m_table) { - if (version == version::v5) + if (version == version::Format::v5) info.m_table = feature::FeaturesOffsetsTable::CreateIfNotExistsAndLoad(m_file, m_cont); else info.m_table = feature::FeaturesOffsetsTable::Load(m_cont); |