summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 12:10:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit7872a934b205ac346b72e762ac663ba04b126c7c (patch)
tree328334e0ea3874f52e96eb1183c5299a1d5719e9 /src/utils
parentc3ed7ea0a8c1d661bb2b31f5458b8357eab650a3 (diff)
downloadplus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.gz
plus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.bz2
plus-7872a934b205ac346b72e762ac663ba04b126c7c.tar.xz
plus-7872a934b205ac346b72e762ac663ba04b126c7c.zip
improve pinters usage in stringutils.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/stringutils.cpp4
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;
}