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-07-23 19:04:03 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:01:29 +0300
commita19239fa847f1a5d7e95deb1aeacef80799b3ed9 (patch)
treeefded0d3e963222829d5315d050752bf71dff218 /indexer/mwm_set.cpp
parent57921f1e7c4f2932b41d423f381bf630ff705b34 (diff)
Simplified routing when GetCountryName() needed.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r--indexer/mwm_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/mwm_set.cpp b/indexer/mwm_set.cpp
index f215e33971..de4cca4335 100644
--- a/indexer/mwm_set.cpp
+++ b/indexer/mwm_set.cpp
@@ -78,7 +78,7 @@ MwmSet::MwmHandle & MwmSet::MwmHandle::operator=(MwmHandle && handle)
MwmSet::MwmId MwmSet::GetMwmIdByCountryFileImpl(CountryFile const & countryFile) const
{
- string const name = countryFile.GetNameWithoutExt();
+ string const & name = countryFile.GetNameWithoutExt();
ASSERT(!name.empty(), ());
auto const it = m_info.find(name);
if (it == m_info.cend() || it->second.empty())