1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #1483: Fix util.cc

This commit is contained in:
Carlos Martín 2013-02-11 12:12:43 +01:00
parent 2bd0088692
commit b14850cd82

View File

@ -21,13 +21,13 @@ using namespace std;
string& one_util::toupper(string& st)
{
transform(st.begin(),st.end(),st.begin(),(int(*)(int))toupper);
transform(st.begin(),st.end(),st.begin(),(int(*)(int))std::toupper);
return st;
};
string& one_util::tolower(string& st)
{
transform(st.begin(),st.end(),st.begin(),(int(*)(int))tolower);
transform(st.begin(),st.end(),st.begin(),(int(*)(int))std::tolower);
return st;
};