diff options
Diffstat (limited to 'libutils/String8.cpp')
-rw-r--r-- | libutils/String8.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libutils/String8.cpp b/libutils/String8.cpp index 4d242a7a3..ac3208e47 100644 --- a/libutils/String8.cpp +++ b/libutils/String8.cpp @@ -426,19 +426,6 @@ void String8::toLower() unlockBuffer(length); } -void String8::toUpper() -{ - const size_t length = size(); - if (length == 0) return; - - char* buf = lockBuffer(length); - for (size_t i = length; i > 0; --i) { - *buf = static_cast<char>(toupper(*buf)); - buf++; - } - unlockBuffer(length); -} - // --------------------------------------------------------------------------- // Path functions |