Index::Removed unused ForEachFeature_TileDrawing().

This commit is contained in:
Alex Zolotarev 2015-12-04 15:50:31 +03:00 committed by Sergey Yershov
parent 48d5b57ece
commit ba9a128c59
3 changed files with 1 additions and 14 deletions

View file

@ -213,13 +213,6 @@ public:
ForEachInIntervals(implFunctor, covering::ViewportWithLowLevels, rect, scale);
}
template <typename F>
void ForEachInRect_TileDrawing(F & f, m2::RectD const & rect, uint32_t scale) const
{
ReadMWMFunctor<F> implFunctor(f);
ForEachInIntervals(implFunctor, covering::LowLevelsOnly, rect, scale);
}
template <typename F>
void ForEachFeatureIDInRect(F & f, m2::RectD const & rect, uint32_t scale) const
{

View file

@ -74,12 +74,6 @@ class FeaturesFetcher : public Index::Observer
m_multiIndex.ForEachInRect(toDo, rect, scale);
}
template <class ToDo>
void ForEachFeature_TileDrawing(m2::RectD const & rect, ToDo & toDo, int scale) const
{
m_multiIndex.ForEachInRect_TileDrawing(toDo, rect, scale);
}
template <class ToDo>
void ForEachFeatureID(m2::RectD const & rect, ToDo & toDo, int scale) const
{

View file

@ -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);
}
}