forked from organicmaps/organicmaps
Index::Removed unused ForEachFeature_TileDrawing().
This commit is contained in:
parent
48d5b57ece
commit
ba9a128c59
3 changed files with 1 additions and 14 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue