diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 12:10:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 7872a934b205ac346b72e762ac663ba04b126c7c (patch) | |
tree | 328334e0ea3874f52e96eb1183c5299a1d5719e9 /src/utils/stringutils.cpp | |
parent | c3ed7ea0a8c1d661bb2b31f5458b8357eab650a3 (diff) | |
download | manaplus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.gz manaplus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.bz2 manaplus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.xz manaplus-7872a934b205ac346b72e762ac663ba04b126c7c.zip |
improve pinters usage in stringutils.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index e1486d91b..0b4e4180a 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -55,13 +55,13 @@ std::string &trim(std::string &str) std::string &toLower(std::string &str) { - std::transform(str.begin(), str.end(), str.begin(), tolower); + std::transform(str.begin(), str.end(), str.begin(), &tolower); return str; } std::string &toUpper(std::string &str) { - std::transform(str.begin(), str.end(), str.begin(), toupper); + std::transform(str.begin(), str.end(), str.begin(), &toupper); return str; } |