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:
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp3
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];