diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2014-12-12 17:32:57 +0100 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2014-12-12 17:32:57 +0100 |
commit | 33e61ef514d2b1a32eea10161d900f1e2e5c0ba2 (patch) | |
tree | d4f7e432ab42cf7fad3834bb14ba72b54b346cc0 /src/common | |
parent | Merge pull request #268 from bunnei/dsp-read-pipe-if-possible (diff) | |
parent | StringUtil: Perform some minimal cleanup. (diff) | |
download | yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar.gz yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar.bz2 yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar.lz yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar.xz yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.tar.zst yuzu-33e61ef514d2b1a32eea10161d900f1e2e5c0ba2.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/string_util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index 19e162c27..7a8274a91 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include <algorithm> +#include <boost/range/algorithm.hpp> #include "common/common.h" #include "common/string_util.h" @@ -18,13 +18,13 @@ namespace Common { /// Make a string lowercase std::string ToLower(std::string str) { - std::transform(str.begin(), str.end(), str.begin(), ::tolower); + boost::transform(str, str.begin(), ::tolower); return str; } /// Make a string uppercase std::string ToUpper(std::string str) { - std::transform(str.begin(), str.end(), str.begin(), ::toupper); + boost::transform(str, str.begin(), ::toupper); return str; } |