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:
Diffstat (limited to 'search/search_tests/locality_finder_test.cpp')
-rw-r--r--search/search_tests/locality_finder_test.cpp7
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)
{