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-08-26 15:09:29 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:02:31 +0300
commitaddac9b4ab2034cb17855547dd57d4ed7e49f473 (patch)
tree556b8493847cae9be59a470808e90100e20e1380 /indexer/mwm_set.cpp
parent07712f58e46f3522455200f0c7d9ca1a7086ee8b (diff)
[routing] Fixed map existence.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r--indexer/mwm_set.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indexer/mwm_set.cpp b/indexer/mwm_set.cpp
index 7035741bcc..8432cd1e6b 100644
--- a/indexer/mwm_set.cpp
+++ b/indexer/mwm_set.cpp
@@ -266,10 +266,7 @@ void MwmSet::ClearCache()
MwmSet::MwmId MwmSet::GetMwmIdByCountryFile(CountryFile const & countryFile) const
{
lock_guard<mutex> lock(m_lock);
-
- MwmId const id = GetMwmIdByCountryFileImpl(countryFile);
- ASSERT(id.IsAlive(), ("Can't get an mwm's (", countryFile.GetNameWithoutExt(), ") identifier."));
- return id;
+ return GetMwmIdByCountryFileImpl(countryFile);
}
MwmSet::MwmHandle MwmSet::GetMwmHandleByCountryFile(CountryFile const & countryFile)