diff options
author | vng <viktor.govako@gmail.com> | 2011-10-16 15:07:05 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:26:06 +0300 |
commit | b5f74708130267036f4097f098eada2902957548 (patch) | |
tree | 8984713833e7d8623acad34eb211b815644c2e4a /indexer/data_header.cpp | |
parent | 99390c215a13fcf6ec4a9c3e1560fa1d1aef14c8 (diff) |
Minor fixes.
Diffstat (limited to 'indexer/data_header.cpp')
-rw-r--r-- | indexer/data_header.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indexer/data_header.cpp b/indexer/data_header.cpp index 47e2161f4a..da77784838 100644 --- a/indexer/data_header.cpp +++ b/indexer/data_header.cpp @@ -48,6 +48,8 @@ namespace feature default: ASSERT_EQUAL(type, country, ()); return make_pair(worldH + 1, high); + + // Uncomment this to test countries drawing in all scales. //return make_pair(low, high); } } @@ -91,8 +93,9 @@ namespace feature m_bounds.first = ReadVarInt<int64_t>(src) + base; m_bounds.second = ReadVarInt<int64_t>(src) + base; - m_scales.resize(4); - src.Read(m_scales.data(), m_scales.size()); + uint32_t const count = 4; + m_scales.resize(count); + src.Read(m_scales.data(), count); m_ver = v1; } |