summaryrefslogtreecommitdiffstats
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r--src/common/string_util.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index c489c868b..bd4c33391 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -17,14 +17,16 @@
#include <iconv.h>
#endif
+namespace Common {
+
/// Make a string lowercase
-std::string LowerStr(std::string str) {
+std::string ToLower(std::string str) {
std::transform(str.begin(), str.end(), str.begin(), ::tolower);
return str;
}
/// Make a string uppercase
-std::string UpperStr(std::string str) {
+std::string ToUpper(std::string str) {
std::transform(str.begin(), str.end(), str.begin(), ::toupper);
return str;
}
@@ -541,3 +543,5 @@ std::string UTF16ToUTF8(const std::wstring& input)
}
#endif
+
+}