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@gmail.com>2011-09-11 15:59:00 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:23:43 +0300
commitd8d6c2e5331026d950efec9bf1409ea27c789a81 (patch)
treec5b7bbea13caddf3f25651d1be3005ea134a8fc0 /indexer/scale_index_builder.hpp
parent4d56813e90f79ba0468cec3ceb448f214988a405 (diff)
CellId refactoring: explicitly specify DEPTH_LEVELS where needed.
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r--indexer/scale_index_builder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp
index 075719f1e2..87a3b219d7 100644
--- a/indexer/scale_index_builder.hpp
+++ b/indexer/scale_index_builder.hpp
@@ -69,7 +69,7 @@ public:
{
if (FeatureShouldBeIndexed(f))
{
- vector<int64_t> const cells = covering::CoverFeature(f, 250);
+ vector<int64_t> const cells = covering::CoverFeature(f, RectId::DEPTH_LEVELS, 250);
for (vector<int64_t>::const_iterator it = cells.begin(); it != cells.end(); ++it)
m_Sorter.Add(CellFeaturePair(*it, offset));
++m_NumFeatures;