diff options
author | Alex Zolotarev <alex@maps.me> | 2015-10-19 06:57:45 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-10-22 10:09:18 +0300 |
commit | 2fa5ed29f1250346f9adc3efa6be8e94d44980b0 (patch) | |
tree | f41587dd5f66f16b6ce851518e236a1f2d472740 /indexer/feature.cpp | |
parent | 6b1d28eda86c9a14416a24de41947ddc9b8dd657 (diff) |
Minor improvements & comments.
Diffstat (limited to 'indexer/feature.cpp')
-rw-r--r-- | indexer/feature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/feature.cpp b/indexer/feature.cpp index bc40766f35..d46961bdf0 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -255,7 +255,7 @@ struct BestMatchedLangNames bool operator()(int8_t code, string const & name) { - static int8_t defaultCode = StringUtf8Multilang::GetLangIndex("default"); + static int8_t const defaultCode = StringUtf8Multilang::GetLangIndex("default"); static int8_t const nativeCode = StringUtf8Multilang::GetLangIndex(languages::GetCurrentNorm()); static int8_t const intCode = StringUtf8Multilang::GetLangIndex("int_name"); static int8_t const englishCode = StringUtf8Multilang::GetLangIndex("en"); |