diff options
author | vng <viktor.govako@gmail.com> | 2015-12-28 20:34:18 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:03:23 +0300 |
commit | 20827eb501a01a5273ed1a23ac5ca6036645b7f5 (patch) | |
tree | 84f1109e1dc9365d6fb9d8fe561138808ff380c6 /indexer/index.cpp | |
parent | edeaca1221365843467fa0e05c15290b2e19ad10 (diff) |
[search] Removed rank table force generation.
Diffstat (limited to 'indexer/index.cpp')
-rw-r--r-- | indexer/index.cpp | 8 |
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(), ()); |