mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-13 22:39:44 +00:00
fixe a compiling error?
This commit is contained in:
parent
ea8335a393
commit
94ab65f8bb
1 changed files with 6 additions and 3 deletions
|
@ -22,9 +22,12 @@ using namespace Widgets;
|
||||||
|
|
||||||
std::string lower_string(const std::string& str)
|
std::string lower_string(const std::string& str)
|
||||||
{
|
{
|
||||||
std::string lower;
|
std::string lowerCase;
|
||||||
std::transform(str.begin(), str.end(), std::back_inserter(lower), std::tolower);
|
|
||||||
return lower;
|
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)
|
std::string::size_type find_str_ci(const std::string& str, const std::string& substr,size_t pos)
|
||||||
|
|
Loading…
Reference in a new issue