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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-10-25 19:49:52 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:46 +0300
commit7d2fea2b6259fed03aab801a5df3fc13082bc3a1 (patch)
tree4176e04344b0e700a00896fb100bcbbf5c41c2ff /indexer/feature_impl.hpp
parentbcb679e8582180abe70cde97935f1e023a665eb8 (diff)
Warning fix
Diffstat (limited to 'indexer/feature_impl.hpp')
-rw-r--r--indexer/feature_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp
index 366586dcc9..89fb0f23d3 100644
--- a/indexer/feature_impl.hpp
+++ b/indexer/feature_impl.hpp
@@ -14,7 +14,7 @@ namespace feature
str.reserve(strlen(prefix) + 1);
str = prefix;
- char arrChar[] = { '0', '1', '2', '3' };
+ static char const arrChar[] = { '0', '1', '2', '3' };
STATIC_ASSERT ( ARRAY_SIZE(arrChar) >= ARRAY_SIZE(g_arrWorldScales) );
STATIC_ASSERT ( ARRAY_SIZE(arrChar) >= ARRAY_SIZE(g_arrCountryScales) );
ASSERT ( ind >= 0 && ind < ARRAY_SIZE(arrChar), (ind) );