diff options
author | Sergey Yershov <syershov@maps.me> | 2018-06-22 19:56:54 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-06-25 15:34:14 +0300 |
commit | cce5c3a0ccd46b27aa5bf25fd2561dc781d7738b (patch) | |
tree | dde51f79d59b937af66a23e66f5c4e3355d2c078 /search/rank_table_cache.cpp | |
parent | 885dcbed8914faf3f91aa38c2aa8664227ec254c (diff) |
Rename variables and methods (index to DataSource)
Diffstat (limited to 'search/rank_table_cache.cpp')
-rw-r--r-- | search/rank_table_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/search/rank_table_cache.cpp b/search/rank_table_cache.cpp index 23d885d777..9af61e7aa9 100644 --- a/search/rank_table_cache.cpp +++ b/search/rank_table_cache.cpp @@ -7,13 +7,13 @@ namespace search { -RankTable const & RankTableCache::Get(DataSourceBase & index, TId const & mwmId) +RankTable const & RankTableCache::Get(DataSourceBase & dataSource, TId const & mwmId) { auto const it = m_ranks.find(TKey(mwmId)); if (it != m_ranks.end()) return *it->second; - TKey handle(index.GetMwmHandleById(mwmId)); + TKey handle(dataSource.GetMwmHandleById(mwmId)); auto table = RankTable::Load(handle.GetValue<MwmValue>()->m_cont); if (!table) table.reset(new DummyRankTable()); |