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 'indexer/indexer_tests/data_source_test.cpp')
-rw-r--r--indexer/indexer_tests/data_source_test.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indexer/indexer_tests/data_source_test.cpp b/indexer/indexer_tests/data_source_test.cpp
index c5b64905da..6bf21c0024 100644
--- a/indexer/indexer_tests/data_source_test.cpp
+++ b/indexer/indexer_tests/data_source_test.cpp
@@ -2,6 +2,7 @@
#include "indexer/data_header.hpp"
#include "indexer/data_source.hpp"
+#include "indexer/feature_source.hpp"
#include "indexer/mwm_set.hpp"
#include "coding/file_name_utils.hpp"
@@ -28,7 +29,10 @@ namespace
class DataSourceTest : public MwmSet::Observer
{
public:
- DataSourceTest() { TEST(m_dataSource.AddObserver(*this), ()); }
+ DataSourceTest() : m_dataSource(make_unique<FeatureSourceFactory>())
+ {
+ TEST(m_dataSource.AddObserver(*this), ());
+ }
~DataSourceTest() override { TEST(m_dataSource.RemoveObserver(*this), ()); }