forked from organicmaps/organicmaps-tmp
Warning fix
This commit is contained in:
parent
bcb679e858
commit
7d2fea2b62
1 changed files with 1 additions and 1 deletions
|
@ -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) );
|
||||
|
|
Loading…
Add table
Reference in a new issue