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>2012-12-19 01:04:48 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:48:06 +0300
commit836d3f86cf8e7a682e7215d4a509b8152a3cb740 (patch)
tree1c3bacb695370635cb9469e46848ebfde06991a5 /indexer/mwm_set.cpp
parent3841eefecc8f83d47c9a654678b5d8ece6a80ba5 (diff)
[search] Get english country name from mwm file name.
Diffstat (limited to 'indexer/mwm_set.cpp')
-rw-r--r--indexer/mwm_set.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indexer/mwm_set.cpp b/indexer/mwm_set.cpp
index 12d34e5dc5..9477616b4a 100644
--- a/indexer/mwm_set.cpp
+++ b/indexer/mwm_set.cpp
@@ -106,13 +106,6 @@ MwmSet::MwmId MwmSet::GetIdByName(string const & name)
return INVALID_MWM_ID;
}
-string MwmSet::MwmLock::GetCountryName() const
-{
- string const & src = m_mwmSet.m_name[m_id];
- ASSERT ( !src.empty(), () );
- return src.substr(0, src.size() - strlen(DATA_FILE_EXTENSION));
-}
-
int MwmSet::Add(string const & fileName, m2::RectD & rect)
{
threads::MutexGuard mutexGuard(m_lock);