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:
authortatiana-yan <tatiana.kondakova@gmail.com>2018-06-28 12:30:40 +0300
committerSergey Yershov <syershov@maps.me>2018-06-28 16:58:20 +0300
commit29be9091cad51749cf521924c98a3751b89b6016 (patch)
tree10cf6c2b542bd167008dd41b9bcdb482d6b433fd /editor/osm_editor.hpp
parent0f012f1bc7cb09fd78d902579a36f5deff50c8d3 (diff)
[indexer] DataSource refactoring: ReadMWMFunctor is not template anymore
Diffstat (limited to 'editor/osm_editor.hpp')
-rw-r--r--editor/osm_editor.hpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/editor/osm_editor.hpp b/editor/osm_editor.hpp
index da215aa9d2..51236cdaee 100644
--- a/editor/osm_editor.hpp
+++ b/editor/osm_editor.hpp
@@ -92,16 +92,9 @@ public:
void OnMapDeregistered(platform::LocalCountryFile const & localFile) override;
- using TFeatureIDFunctor = function<void(FeatureID const &)>;
- void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
- TFeatureIDFunctor const & f,
- m2::RectD const & rect,
- int scale);
- using TFeatureTypeFunctor = function<void(FeatureType &)>;
- void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
- TFeatureTypeFunctor const & f,
- m2::RectD const & rect,
- int scale);
+ using TFeatureIndexFunctor = function<void(uint32_t)>;
+ void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id, TFeatureIndexFunctor const & f,
+ m2::RectD const & rect, int scale);
// TODO(mgsergio): Unify feature functions signatures.