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 'map/feature_vec_model.hpp')
-rw-r--r--map/feature_vec_model.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp
index c3e397563d..37b24f4bb9 100644
--- a/map/feature_vec_model.hpp
+++ b/map/feature_vec_model.hpp
@@ -1,8 +1,7 @@
#pragma once
-#include "editor/editable_data_source.hpp"
-
#include "indexer/data_header.hpp"
+#include "indexer/data_source.hpp"
#include "indexer/mwm_set.hpp"
#include "geometry/rect2d.hpp"
@@ -31,7 +30,7 @@ class FeaturesFetcher : public MwmSet::Observer
private:
m2::RectD m_rect;
- EditableDataSource m_dataSource;
+ DataSource m_dataSource;
TMapDeregisteredCallback m_onMapDeregistered;
@@ -91,8 +90,8 @@ class FeaturesFetcher : public MwmSet::Observer
}
//@}
- DataSourceBase const & GetDataSource() const { return m_dataSource; }
- DataSourceBase & GetDataSource() { return m_dataSource; }
+ DataSource const & GetDataSource() const { return m_dataSource; }
+ DataSource & GetDataSource() { return m_dataSource; }
m2::RectD GetWorldRect() const;
};
}