diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-07-02 14:14:21 +0300 |
---|---|---|
committer | Ilya Zverev <ilya@zverev.info> | 2018-07-03 16:22:29 +0300 |
commit | 2de3574160138fa77f086a8017207552b782d60d (patch) | |
tree | 22cc637c1ef6901e7dec1dfd65d0ecd1bf9dd287 /search | |
parent | 2b1bb88f7c442b235ff8a3842836340914bb3fb0 (diff) |
RANKS_FILE_TAG is renamed to SEARCH_RANKS_FILE_TAG
Diffstat (limited to 'search')
-rw-r--r-- | search/geocoder.cpp | 2 | ||||
-rw-r--r-- | search/locality_finder.cpp | 2 | ||||
-rw-r--r-- | search/pre_ranker.cpp | 2 | ||||
-rw-r--r-- | search/rank_table_cache.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/search/geocoder.cpp b/search/geocoder.cpp index 941e53eb49..b1d0a7cf91 100644 --- a/search/geocoder.cpp +++ b/search/geocoder.cpp @@ -145,7 +145,7 @@ private: { if (m_table) return; - m_table = search::RankTable::Load(m_value.m_cont, RANKS_FILE_TAG); + m_table = search::RankTable::Load(m_value.m_cont, SEARCH_RANKS_FILE_TAG); if (!m_table) m_table = make_unique<search::DummyRankTable>(); } diff --git a/search/locality_finder.cpp b/search/locality_finder.cpp index bbe5c9354e..9da35b437b 100644 --- a/search/locality_finder.cpp +++ b/search/locality_finder.cpp @@ -243,7 +243,7 @@ void LocalityFinder::LoadVicinity(m2::PointD const & p, bool loadCities, bool lo { auto const & value = *handle.GetValue<MwmValue>(); if (!m_ranks) - m_ranks = RankTable::Load(value.m_cont, RANKS_FILE_TAG); + m_ranks = RankTable::Load(value.m_cont, SEARCH_RANKS_FILE_TAG); if (!m_ranks) m_ranks = make_unique<DummyRankTable>(); diff --git a/search/pre_ranker.cpp b/search/pre_ranker.cpp index 6648c59f3b..773ff83320 100644 --- a/search/pre_ranker.cpp +++ b/search/pre_ranker.cpp @@ -87,7 +87,7 @@ void PreRanker::FillMissingFieldsInPreResults() centers.reset(); if (mwmHandle.IsAlive()) { - ranks = RankTable::Load(mwmHandle.GetValue<MwmValue>()->m_cont, RANKS_FILE_TAG); + ranks = RankTable::Load(mwmHandle.GetValue<MwmValue>()->m_cont, SEARCH_RANKS_FILE_TAG); popularityRanks = RankTable::Load(mwmHandle.GetValue<MwmValue>()->m_cont, POPULARITY_RANKS_FILE_TAG); centers = make_unique<LazyCentersTable>(*mwmHandle.GetValue<MwmValue>()); diff --git a/search/rank_table_cache.cpp b/search/rank_table_cache.cpp index 109f16dcc2..7073551410 100644 --- a/search/rank_table_cache.cpp +++ b/search/rank_table_cache.cpp @@ -14,7 +14,7 @@ RankTable const & RankTableCache::Get(DataSource & dataSource, TId const & mwmId return *it->second; TKey handle(dataSource.GetMwmHandleById(mwmId)); - auto table = RankTable::Load(handle.GetValue<MwmValue>()->m_cont, RANKS_FILE_TAG); + auto table = RankTable::Load(handle.GetValue<MwmValue>()->m_cont, SEARCH_RANKS_FILE_TAG); if (!table) table.reset(new DummyRankTable()); |