diff --git a/indexer/index.hpp b/indexer/index.hpp index cebbf0a5e1..ce87856c0f 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -213,13 +213,6 @@ public: ForEachInIntervals(implFunctor, covering::ViewportWithLowLevels, rect, scale); } - template - void ForEachInRect_TileDrawing(F & f, m2::RectD const & rect, uint32_t scale) const - { - ReadMWMFunctor implFunctor(f); - ForEachInIntervals(implFunctor, covering::LowLevelsOnly, rect, scale); - } - template void ForEachFeatureIDInRect(F & f, m2::RectD const & rect, uint32_t scale) const { diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp index 659a263c17..42cc7b8ce0 100644 --- a/map/feature_vec_model.hpp +++ b/map/feature_vec_model.hpp @@ -74,12 +74,6 @@ class FeaturesFetcher : public Index::Observer m_multiIndex.ForEachInRect(toDo, rect, scale); } - template - void ForEachFeature_TileDrawing(m2::RectD const & rect, ToDo & toDo, int scale) const - { - m_multiIndex.ForEachInRect_TileDrawing(toDo, rect, scale); - } - template void ForEachFeatureID(m2::RectD const & rect, ToDo & toDo, int scale) const { diff --git a/map/mwm_tests/multithread_mwm_test.cpp b/map/mwm_tests/multithread_mwm_test.cpp index 974cb436a4..ece0a3df27 100644 --- a/map/mwm_tests/multithread_mwm_test.cpp +++ b/map/mwm_tests/multithread_mwm_test.cpp @@ -46,7 +46,7 @@ namespace m2::RectD const r = GetRandomRect(); m_scale = scales::GetScaleLevel(r); - m_src.ForEachFeature_TileDrawing(r, *this, m_scale); + m_src.ForEachFeature(r, *this, m_scale); } }