diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-01-13 16:06:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:10:20 +0300 |
commit | f62a91e8aa8241b856423dc2ad2b52104fe86a8d (patch) | |
tree | 0335f728e431dd515c0a20385fee2fb10fee576a /indexer/feature_covering.cpp | |
parent | 060e53d9340eb761150bb5bc17c580e2ef00907f (diff) |
[drape] replace ProcessMWM method on functor. Preparing for read mwm index separately from the features
Diffstat (limited to 'indexer/feature_covering.cpp')
-rw-r--r-- | indexer/feature_covering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_covering.cpp b/indexer/feature_covering.cpp index a75a30840b..dbdba94730 100644 --- a/indexer/feature_covering.cpp +++ b/indexer/feature_covering.cpp @@ -231,11 +231,11 @@ IntervalsT const & CoveringGetter::Get(int scale) { switch (m_mode) { - case 0: + case ViewportWithLowLevels: CoverViewportAndAppendLowerLevels(m_rect, cellDepth, m_res[ind]); break; - case 1: + case LowLevelsOnly: { RectId id = GetRectIdAsIs(m_rect); while (id.Level() >= cellDepth) @@ -244,7 +244,7 @@ IntervalsT const & CoveringGetter::Get(int scale) break; } - case 2: + case FullCover: m_res[ind].push_back(IntervalsT::value_type(0, static_cast<int64_t>((1ULL << 63) - 1))); break; } |