1
0
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:
Michał Janiszewski
2020-04-19 22:34:03 +02:00
parent 4f85810c14
commit 5f97637d5e
9 changed files with 40 additions and 18 deletions

View File

@@ -109,7 +109,7 @@ struct GameStateSnapshot_t
}
};
struct GameStateSnapshots : public IGameStateSnapshots
struct GameStateSnapshots final : public IGameStateSnapshots
{
virtual void Reset() override final
{