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:
authorYury Melnichek <melnichek@malinovka.local>2011-08-26 01:10:15 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:22:32 +0300
commit31f2a764cd99e2e184233b017218bb4064d28751 (patch)
tree2a54feb81c09cae28f16e79b75c6fc2731e7521a /map/feature_vec_model.hpp
parent940c975a933069485234682335bfcb18ecad8508 (diff)
Fix bug when some feature were omitted from ForEachInRect. Remove Query class, since it's not used anywhere.
Diffstat (limited to 'map/feature_vec_model.hpp')
-rw-r--r--map/feature_vec_model.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp
index d9c439a87e..642c937ed6 100644
--- a/map/feature_vec_model.hpp
+++ b/map/feature_vec_model.hpp
@@ -45,8 +45,7 @@ namespace model
template <class ToDo>
void ForEachFeature(m2::RectD const & rect, ToDo toDo) const
{
- index_t::Query query;
- m_multiIndex.ForEachInViewport(toDo, rect, query);
+ m_multiIndex.ForEachInViewport(toDo, rect);
// Uncomment to traverse all features (SLOW!!):
// m_multiIndex.ForEachInScale(toDo, GetScaleLevel(rect));
}