diff options
author | vng <viktor.govako@gmail.com> | 2015-07-23 19:04:03 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:01:29 +0300 |
commit | a19239fa847f1a5d7e95deb1aeacef80799b3ed9 (patch) | |
tree | efded0d3e963222829d5315d050752bf71dff218 /indexer/mwm_set.cpp | |
parent | 57921f1e7c4f2932b41d423f381bf630ff705b34 (diff) |
Simplified routing when GetCountryName() needed.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r-- | indexer/mwm_set.cpp | 2 |
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()) |