diff options
Diffstat (limited to 'map/mwm_tests/mwm_index_test.cpp')
-rw-r--r-- | map/mwm_tests/mwm_index_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/map/mwm_tests/mwm_index_test.cpp b/map/mwm_tests/mwm_index_test.cpp index f2ec06de68..3b299b4d95 100644 --- a/map/mwm_tests/mwm_index_test.cpp +++ b/map/mwm_tests/mwm_index_test.cpp @@ -42,10 +42,11 @@ bool RunTest(string const & countryFileName, int lowS, int highS) auto p = src.RegisterMap(platform::LocalCountryFile::MakeForTesting(countryFileName)); if (p.second != MwmSet::RegResult::Success) return false; - MwmSet::MwmHandle const & handle = p.first; - ASSERT(handle.IsAlive(), ()); - version::Format const version = handle.GetInfo()->m_version.format; + MwmSet::MwmId const & id = p.first; + ASSERT(id.IsAlive(), ()); + + version::Format const version = id.GetInfo()->m_version.format; if (version == version::unknownFormat) return false; |