diff options
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r-- | indexer/feature_data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index 8dd3da74ce..435b2b824f 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -236,7 +236,7 @@ bool FeatureParams::AddName(string const & lang, string const & s) bool FeatureParams::AddHouseName(string const & s) { - if (IsDummyName(s) || name.FindString(s) != StringUtf8Multilang::UNSUPPORTED_LANGUAGE_CODE) + if (IsDummyName(s) || name.FindString(s) != StringUtf8Multilang::kUnsupportedLanguageCode) return false; // Most names are house numbers by statistics. @@ -245,9 +245,9 @@ bool FeatureParams::AddHouseName(string const & s) // Add as a default name if we don't have it yet. string dummy; - if (!name.GetString(StringUtf8Multilang::DEFAULT_CODE, dummy)) + if (!name.GetString(StringUtf8Multilang::kDefaultCode, dummy)) { - name.AddString(StringUtf8Multilang::DEFAULT_CODE, s); + name.AddString(StringUtf8Multilang::kDefaultCode, s); return true; } |