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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-02-02 17:31:11 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:32 +0300
commitdbe555605f496e65df0e762bec3dc3da75e009d5 (patch)
tree2f5902d58d8411a421ba73e216ec93b59522be1a /indexer/mwm_set.cpp
parentde3a5b9df15bfc5b3c957197921cc369753d0998 (diff)
[new downloader] Moving new developed map downloader functionality to new map downloader branch.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r--indexer/mwm_set.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/mwm_set.cpp b/indexer/mwm_set.cpp
index c1858cf651..ba35b57051 100644
--- a/indexer/mwm_set.cpp
+++ b/indexer/mwm_set.cpp
@@ -75,7 +75,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.GetName();
ASSERT(!name.empty(), ());
auto const it = m_info.find(name);
if (it == m_info.cend() || it->second.empty())
@@ -115,7 +115,7 @@ pair<MwmSet::MwmId, MwmSet::RegResult> MwmSet::Register(LocalCountryFile const &
return;
}
- string const name = countryFile.GetNameWithoutExt();
+ string const name = countryFile.GetName();
// Update the status of the mwm with the same version.
if (info->GetVersion() == localFile.GetVersion())
{