1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-13 19:39:44 +00:00

fixe a compiling error?

This commit is contained in:
gugus 2012-02-10 16:21:04 +01:00
parent ea8335a393
commit 94ab65f8bb

View file

@ -22,9 +22,12 @@ using namespace Widgets;
std::string lower_string(const std::string& str)
{
std::string lower;
std::transform(str.begin(), str.end(), std::back_inserter(lower), std::tolower);
return lower;
std::string lowerCase;
std::transform (str.begin(), str.end(), std::back_inserter (lowerCase),
(int(*)(int)) std::tolower);
return lowerCase;
}
std::string::size_type find_str_ci(const std::string& str, const std::string& substr,size_t pos)