summaryrefslogtreecommitdiffstats
path: root/src/common/string_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/string_util.h')
-rw-r--r--src/common/string_util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h
index ba4cd363e..16ce39bc1 100644
--- a/src/common/string_util.h
+++ b/src/common/string_util.h
@@ -12,11 +12,13 @@
#include "common/common.h"
+namespace Common {
+
/// Make a string lowercase
-void LowerStr(char* str);
+std::string ToLower(std::string str);
/// Make a string uppercase
-void UpperStr(char* str);
+std::string ToUpper(std::string str);
std::string StringFromFormat(const char* format, ...);
// Cheap!
@@ -111,3 +113,5 @@ inline std::string UTF8ToTStr(const std::string& str)
#endif
#endif
+
+}