Codechange: Add missing override specifiers.

This commit is contained in:
Peter Nelson
2023-04-13 07:23:18 +01:00
committed by PeterN
parent a454773a73
commit 49dae08a3b
34 changed files with 123 additions and 123 deletions

View File

@@ -159,7 +159,7 @@ struct SettingsIniFile : IniLoadFile {
{
}
virtual FILE *OpenFile(const std::string &filename, Subdirectory, size_t *size)
FILE *OpenFile(const std::string &filename, Subdirectory, size_t *size) override
{
/* Open the text file in binary mode to prevent end-of-line translations
* done by ftell() and friends, as defined by K&R. */
@@ -173,7 +173,7 @@ struct SettingsIniFile : IniLoadFile {
return in;
}
virtual void ReportFileError(const char * const pre, const char * const buffer, const char * const post)
void ReportFileError(const char * const pre, const char * const buffer, const char * const post) override
{
FatalError("{}{}{}", pre, buffer, post);
}