summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}