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:
authorYuri Gorshenin <y@maps.me>2017-10-18 15:10:55 +0300
committerIlya Zverev <ilya@zverev.info>2017-10-18 16:39:41 +0300
commitbdb8df372a9a5d78e4e8a1b6ba53b5b6122262e0 (patch)
tree010116e657088baa66c43294bce06046f2297c22 /feature_list/feature_list.cpp
parent7083f952d91eca30d8a5b2de22e1e867699a9611 (diff)
[feature_list] Fixed feature_list build.
Diffstat (limited to 'feature_list/feature_list.cpp')
-rw-r--r--feature_list/feature_list.cpp9
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(); }