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:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2016-01-14 17:50:31 +0300
committerConstantin Shalnev <c.shalnev@corp.mail.ru>2016-01-14 17:50:31 +0300
commitb6e096eb0fcc3a37b06981fed0aca9d551aee164 (patch)
treecf0fde77770cafc26f5f42ef5ecc8064afb47dae /indexer/drawing_rules.cpp
parentb3ced04b21ca718c1a3e9d248fec0b8fd90922b4 (diff)
Fixed notes
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r--indexer/drawing_rules.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp
index 8b81b75b07..06b1aef206 100644
--- a/indexer/drawing_rules.cpp
+++ b/indexer/drawing_rules.cpp
@@ -187,8 +187,7 @@ void RulesHolder::ResizeCaches(size_t s)
RulesHolder & rules(MapStyle mapStyle)
{
- int const index = static_cast<int>(mapStyle);
- ASSERT_GREATER_OR_EQUAL(index, 0, ());
+ size_t const index = static_cast<size_t>(mapStyle);
ASSERT_LESS(index, MapStyleCount, ());
static RulesHolder h[MapStyleCount];
return h[index];