mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Unbreak the unit test in gcc and clang
This commit is contained in:
parent
6daefe3ddc
commit
c5ba733855
@ -311,7 +311,7 @@ void Settings::SettingsFileParser::saveSettingsFile(const std::string& file, con
|
|||||||
|
|
||||||
bool Settings::SettingsFileParser::skipWhiteSpace(size_t& i, std::string& str)
|
bool Settings::SettingsFileParser::skipWhiteSpace(size_t& i, std::string& str)
|
||||||
{
|
{
|
||||||
while (i < str.size() && std::isspace(static_cast<unsigned char>(str[i]), std::locale::classic()))
|
while (i < str.size() && std::isspace(str[i], std::locale::classic()))
|
||||||
{
|
{
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user