From c5ba733855c698e1d07768998c7490135b4966a4 Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Thu, 11 Nov 2021 21:16:25 +0100 Subject: [PATCH] Unbreak the unit test in gcc and clang --- components/settings/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }