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:
authorYuri Gorshenin <y@mmaps.me>2015-04-03 16:43:13 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:41:36 +0300
commit90cd2f8c9a70e810b3b93931538ae1693d75bb54 (patch)
tree1721dbbaf7962449ed2eb94f0c2a75ba4673fc75 /map/mwm_tests
parent7e21339eacb8154fee47c51baa60ee2c716f49e6 (diff)
Fixed constantness.
Diffstat (limited to 'map/mwm_tests')
-rw-r--r--map/mwm_tests/mwm_index_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/map/mwm_tests/mwm_index_test.cpp b/map/mwm_tests/mwm_index_test.cpp
index 619f47d431..c2bf63226a 100644
--- a/map/mwm_tests/mwm_index_test.cpp
+++ b/map/mwm_tests/mwm_index_test.cpp
@@ -39,13 +39,13 @@ public:
bool RunTest(string const & fileName, int lowS, int highS)
{
model::FeaturesFetcher src;
- pair<MwmSet::MwmLock, bool> p = src.RegisterMap(fileName);
+ pair<MwmSet::MwmLock, bool> const p = src.RegisterMap(fileName);
if (!p.second)
return false;
- MwmSet::MwmLock & lock = p.first;
+ MwmSet::MwmLock const & lock = p.first;
ASSERT(lock.IsLocked(), ());
- version::Format version = lock.GetInfo().m_version.format;
+ version::Format const version = lock.GetInfo().m_version.format;
if (version == version::unknownFormat)
return false;