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-12-28 20:34:18 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:03:23 +0300
commit20827eb501a01a5273ed1a23ac5ca6036645b7f5 (patch)
tree84f1109e1dc9365d6fb9d8fe561138808ff380c6 /indexer/index.cpp
parentedeaca1221365843467fa0e05c15290b2e19ad10 (diff)
[search] Removed rank table force generation.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r--indexer/index.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/indexer/index.cpp b/indexer/index.cpp
index a39138fa44..8ac5b5060a 100644
--- a/indexer/index.cpp
+++ b/indexer/index.cpp
@@ -65,16 +65,8 @@ unique_ptr<MwmInfo> Index::CreateInfo(platform::LocalCountryFile const & localFi
unique_ptr<MwmSet::MwmValueBase> Index::CreateValue(MwmInfo & info) const
{
- MwmInfoEx & infoEx = dynamic_cast<MwmInfoEx &>(info);
-
// Create a section with rank table if it does not exist.
platform::LocalCountryFile const & localFile = info.GetLocalFile();
- if (!infoEx.m_rankTableCtorCalled)
- {
- infoEx.m_rankTableCtorCalled = true;
- search::RankTableBuilder::CreateIfNotExists(localFile);
- }
-
unique_ptr<MwmValue> p(new MwmValue(localFile));
p->SetTable(dynamic_cast<MwmInfoEx &>(info));
ASSERT(p->GetHeader().IsMWMSuitable(), ());