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

@@ -108,7 +108,7 @@ bool IniFile::SaveToDisk(const std::string &filename)
return FioFOpenFile(filename, "rb", subdir, size);
}
/* virtual */ void IniFile::ReportFileError(std::string_view pre, std::string_view buffer, std::string_view post)
/* virtual */ void IniFile::ReportFileError(std::string_view message)
{
ShowInfo("{}{}{}", pre, buffer, post);
ShowInfo("{}", message);
}