diff options
author | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2016-01-14 17:50:31 +0300 |
---|---|---|
committer | Constantin Shalnev <c.shalnev@corp.mail.ru> | 2016-01-14 17:50:31 +0300 |
commit | b6e096eb0fcc3a37b06981fed0aca9d551aee164 (patch) | |
tree | cf0fde77770cafc26f5f42ef5ecc8064afb47dae /indexer/drawing_rules.cpp | |
parent | b3ced04b21ca718c1a3e9d248fec0b8fd90922b4 (diff) |
Fixed notes
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 3 |
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]; |