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 /editor/editor_tests/osm_editor_test.cpp | |
parent | dd7186b48be4636c1e67d223817a47f3f3a026e9 (diff) |
[indexer] DataSource refactoring
Diffstat (limited to 'editor/editor_tests/osm_editor_test.cpp')
-rw-r--r-- | editor/editor_tests/osm_editor_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/editor_tests/osm_editor_test.cpp b/editor/editor_tests/osm_editor_test.cpp index c5224b6c6c..7886882c24 100644 --- a/editor/editor_tests/osm_editor_test.cpp +++ b/editor/editor_tests/osm_editor_test.cpp @@ -1,5 +1,6 @@ #include "testing/testing.hpp" +#include "editor/editable_feature_source.hpp" #include "editor/editor_storage.hpp" #include "editor/editor_tests/osm_editor_test.hpp" #include "editor/editor_tests_support/helpers.hpp" @@ -53,7 +54,7 @@ public: }; template <typename TFn> -void ForEachCafeAtPoint(DataSourceBase & dataSource, m2::PointD const & mercator, TFn && fn) +void ForEachCafeAtPoint(DataSource & dataSource, m2::PointD const & mercator, TFn && fn) { m2::RectD const rect = MercatorBounds::RectByCenterXYAndSizeInMeters(mercator, 0.2 /* rect width */); @@ -136,7 +137,7 @@ namespace editor { namespace testing { -EditorTest::EditorTest() +EditorTest::EditorTest() : m_dataSource(make_unique<EditableFeatureSourceFactory>()) { try { |