diff options
author | Yuri Gorshenin <y@maps.me> | 2017-10-18 15:10:55 +0300 |
---|---|---|
committer | Ilya Zverev <ilya@zverev.info> | 2017-10-18 16:39:41 +0300 |
commit | bdb8df372a9a5d78e4e8a1b6ba53b5b6122262e0 (patch) | |
tree | 010116e657088baa66c43294bce06046f2297c22 /feature_list/feature_list.cpp | |
parent | 7083f952d91eca30d8a5b2de22e1e867699a9611 (diff) |
[feature_list] Fixed feature_list build.
Diffstat (limited to 'feature_list/feature_list.cpp')
-rw-r--r-- | feature_list/feature_list.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/feature_list/feature_list.cpp b/feature_list/feature_list.cpp index 06be6aa78e..11e2f7446c 100644 --- a/feature_list/feature_list.cpp +++ b/feature_list/feature_list.cpp @@ -163,13 +163,16 @@ class Processor { search::ReverseGeocoder m_geocoder; my::Cancellable m_cancellable; + search::CitiesBoundariesTable m_boundariesTable; search::VillagesCache m_villagesCache; search::LocalityFinder m_finder; public: - Processor(Index const & index) - : m_geocoder(index), m_villagesCache(m_cancellable), m_finder(index, m_villagesCache) - { + Processor(Index const &index) + : m_geocoder(index), m_boundariesTable(index), + m_villagesCache(m_cancellable), + m_finder(index, m_boundariesTable, m_villagesCache) { + m_boundariesTable.Load(); } void ClearCache() { m_villagesCache.Clear(); } |