aboutsummaryrefslogtreecommitdiff
path: root/src/common/StringUtil.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-14 22:44:59 +0800
committercrupest <crupest@outlook.com>2021-11-14 22:44:59 +0800
commit63b4956c3a802ee1c0fd92d1ce56e9330b6de4d2 (patch)
treef13f592d810b797c4c64803719acbd258565ebce /src/common/StringUtil.cpp
parenta744ed1fea0eaf4d946909da7fdc0a4c0f9c5ec0 (diff)
downloadcru-63b4956c3a802ee1c0fd92d1ce56e9330b6de4d2.tar.gz
cru-63b4956c3a802ee1c0fd92d1ce56e9330b6de4d2.tar.bz2
cru-63b4956c3a802ee1c0fd92d1ce56e9330b6de4d2.zip
...
Diffstat (limited to 'src/common/StringUtil.cpp')
-rw-r--r--src/common/StringUtil.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/common/StringUtil.cpp b/src/common/StringUtil.cpp
index 850524b5..c828fa21 100644
--- a/src/common/StringUtil.cpp
+++ b/src/common/StringUtil.cpp
@@ -252,16 +252,4 @@ char16_t ToUpper(char16_t c) {
}
return c;
}
-
-std::u16string ToLower(std::u16string_view s) {
- std::u16string result;
- for (auto c : s) result.push_back(ToLower(c));
- return result;
-}
-
-std::u16string ToUpper(std::u16string_view s) {
- std::u16string result;
- for (auto c : s) result.push_back(ToUpper(c));
- return result;
-}
} // namespace cru