summaryrefslogtreecommitdiffstats
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2014-12-07 23:36:33 +0100
committerTony Wasserka <neobrainx@gmail.com>2014-12-07 23:52:17 +0100
commit3d8c6e61beef922f79733718c5314c0d7015e93f (patch)
treeb1bfa736ff80f0229d3740c943214065dc62f9bd /src/common/string_util.cpp
parentIntegrate Boost into build system and perform a trivial cleanup in vertex_shader.cpp. (diff)
downloadyuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar.gz
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar.bz2
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar.lz
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar.xz
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.tar.zst
yuzu-3d8c6e61beef922f79733718c5314c0d7015e93f.zip
Diffstat (limited to 'src/common/string_util.cpp')
-rw-r--r--src/common/string_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index 7fb7ede5e..2ec4c8e05 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;
}