diff options
author | Alex Zolotarev <alex@maps.me> | 2015-04-03 17:07:03 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:41:31 +0300 |
commit | 8c8dddf57145e435c8067f980fa28f75e0a5c76f (patch) | |
tree | 249f0d14f9232dcadc50a8bbcde2d09682ba2c03 /base/string_utils.cpp | |
parent | 2b6dd058f2c6e0cc2e3ee8843e18d92ed8135686 (diff) |
Renamed methods.
Diffstat (limited to 'base/string_utils.cpp')
-rw-r--r-- | base/string_utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/string_utils.cpp b/base/string_utils.cpp index bc5dbd6f32..e35df80cdd 100644 --- a/base/string_utils.cpp +++ b/base/string_utils.cpp @@ -87,15 +87,15 @@ bool to_double(char const * s, double & d) UniString MakeLowerCase(UniString const & s) { UniString result(s); - MakeLowerCase(result); + MakeLowerCaseInplace(result); return result; } -void MakeLowerCase(string & s) +void MakeLowerCaseInplace(string & s) { UniString uniStr; utf8::unchecked::utf8to32(s.begin(), s.end(), back_inserter(uniStr)); - MakeLowerCase(uniStr); + MakeLowerCaseInplace(uniStr); s.clear(); utf8::unchecked::utf32to8(uniStr.begin(), uniStr.end(), back_inserter(s)); } @@ -103,14 +103,14 @@ void MakeLowerCase(string & s) string MakeLowerCase(string const & s) { string result(s); - MakeLowerCase(result); + MakeLowerCaseInplace(result); return result; } UniString Normalize(UniString const & s) { UniString result(s); - Normalize(result); + NormalizeInplace(result); return result; } |