diff --git a/components/settings/parser.cpp b/components/settings/parser.cpp index 8d387ab9c7..f2419dfdd6 100644 --- a/components/settings/parser.cpp +++ b/components/settings/parser.cpp @@ -311,7 +311,7 @@ void Settings::SettingsFileParser::saveSettingsFile(const std::string& file, con bool Settings::SettingsFileParser::skipWhiteSpace(size_t& i, std::string& str) { - while (i < str.size() && std::isspace(static_cast(str[i]), std::locale::classic())) + while (i < str.size() && std::isspace(str[i], std::locale::classic())) { ++i; }