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:
authortatiana-kondakova <tatiana.kondakova@gmail.com>2018-02-06 16:08:43 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2018-02-08 12:39:21 +0300
commit4bf5605859902a63babefab7e2cf50732bc98f5f (patch)
tree8c59ffc5bd791d975ea448d0f3908872c304d573 /indexer/locality_index.hpp
parente01c0f206df8bc65cf9632f91c2852fde4701d54 (diff)
Change LocalityIndex depth
Diffstat (limited to 'indexer/locality_index.hpp')
-rw-r--r--indexer/locality_index.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/locality_index.hpp b/indexer/locality_index.hpp
index 9acac6fcb3..d943729b61 100644
--- a/indexer/locality_index.hpp
+++ b/indexer/locality_index.hpp
@@ -32,7 +32,8 @@ public:
void ForEachInRect(ProcessObject const & processObject, m2::RectD const & rect) const
{
covering::CoveringGetter cov(rect, covering::CoveringMode::ViewportWithLowLevels);
- covering::Intervals const & intervals = cov.Get(scales::GetUpperScale());
+ covering::Intervals const & intervals =
+ cov.Get<LocalityCellId::DEPTH_LEVELS>(scales::GetUpperScale());
for (auto const & i : intervals)
{