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:
parent
2bd0088692
commit
b14850cd82
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user