forked from organicmaps/organicmaps
Fixed ForEach signature to allow lambdas.
This commit is contained in:
parent
4ab632bc47
commit
6be425966d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class FeaturesFetcher : public Index::Observer
|
|||
/// @name Features enumeration.
|
||||
//@{
|
||||
template <class ToDo>
|
||||
void ForEachFeature(m2::RectD const & rect, ToDo & toDo, int scale) const
|
||||
void ForEachFeature(m2::RectD const & rect, ToDo && toDo, int scale) const
|
||||
{
|
||||
m_multiIndex.ForEachInRect(toDo, rect, scale);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue