From ecc0301f5b4a51db876df45815a727c2e6064aec Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 7 Sep 2023 12:44:51 +0300 Subject: [PATCH] - removed obsolete forward declarations source/core/savegamehelp.h:10:1: error: declaration conflicts with target of using declaration already in scope source/core/savegamehelp.h:13:24: error: reference to 'FileReader' is ambiguous source/core/gameconfigfile.h:40:1: error: declaration conflicts with target of using declaration already in scope source/core/gameconfigfile.h:61:27: error: reference to 'FileWriter' is ambiguous --- source/core/gameconfigfile.h | 1 - source/core/savegamehelp.h | 1 - 2 files changed, 2 deletions(-) diff --git a/source/core/gameconfigfile.h b/source/core/gameconfigfile.h index b6c4d7c8d..ef960e7b9 100644 --- a/source/core/gameconfigfile.h +++ b/source/core/gameconfigfile.h @@ -37,7 +37,6 @@ #include "configfile.h" class FArgs; -class FileWriter; class FGameConfigFile : public FConfigFile { diff --git a/source/core/savegamehelp.h b/source/core/savegamehelp.h index eb9049ec9..59e5bc41b 100644 --- a/source/core/savegamehelp.h +++ b/source/core/savegamehelp.h @@ -7,7 +7,6 @@ #include "serializer_raze.h" // Savegame utilities -class FileReader; extern int SaveVersion; int G_ValidateSavegame(FileReader &fr, FString *savetitle, bool formenu);