mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 12:53:53 +00:00
Unbreak the unit test in gcc and clang
This commit is contained in:
parent
6daefe3ddc
commit
c5ba733855
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue