diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-26 10:51:37 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-06-27 19:20:52 +0300 |
commit | 570b2b0b35df1fad001460eccf35da31e334b8b0 (patch) | |
tree | 2f805cf3122db499b794248f3f6c1bdd232b258c /search/search_tests/locality_finder_test.cpp | |
parent | dd7186b48be4636c1e67d223817a47f3f3a026e9 (diff) |
[indexer] DataSource refactoring
Diffstat (limited to 'search/search_tests/locality_finder_test.cpp')
-rw-r--r-- | search/search_tests/locality_finder_test.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/search/search_tests/locality_finder_test.cpp b/search/search_tests/locality_finder_test.cpp index c187f87cd4..3182055e18 100644 --- a/search/search_tests/locality_finder_test.cpp +++ b/search/search_tests/locality_finder_test.cpp @@ -16,6 +16,10 @@ #include "base/cancellable.hpp" +#include <memory> + +using namespace std; + namespace { class LocalityFinderTest : public generator::tests_support::TestWithClassificator @@ -33,7 +37,8 @@ class LocalityFinderTest : public generator::tests_support::TestWithClassificato public: LocalityFinderTest() - : m_villagesCache(m_cancellable) + : m_dataSource(make_unique<FeatureSourceFactory>()) + , m_villagesCache(m_cancellable) , m_boundariesTable(m_dataSource) , m_finder(m_dataSource, m_boundariesTable, m_villagesCache) { |