mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Only suggest final when using non-LTO builds
In LTO builds GCC issues the suggestion-warning from linking stage, when pragmas are already gone and do nothing.
This commit is contained in:
@@ -109,7 +109,7 @@ struct GameStateSnapshot_t
|
||||
}
|
||||
};
|
||||
|
||||
struct GameStateSnapshots : public IGameStateSnapshots
|
||||
struct GameStateSnapshots final : public IGameStateSnapshots
|
||||
{
|
||||
virtual void Reset() override final
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user