Codechange: rewrite ini file parsing with the StringConsumer

This commit is contained in:
Rubidium
2025-05-03 10:27:49 +02:00
committed by rubidium42
parent 6a9f694158
commit 85f1110569
4 changed files with 37 additions and 48 deletions

View File

@@ -164,9 +164,9 @@ struct SettingsIniFile : IniLoadFile {
return in;
}
void ReportFileError(std::string_view pre, std::string_view buffer, std::string_view post) override
void ReportFileError(std::string_view message) override
{
FatalError("{}{}{}", pre, buffer, post);
FatalError("{}", message);
}
};