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/classificator.cpp | |
parent | b3ced04b21ca718c1a3e9d248fec0b8fd90922b4 (diff) |
Fixed notes
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index 9dff711731..648beebfb0 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -122,8 +122,7 @@ void ClassifObject::ConcatChildNames(string & s) const Classificator & classif(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 Classificator c[MapStyleCount]; return c[index]; |