mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Silence warning about final
This commit is contained in:
@@ -201,6 +201,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void BeginDraw() override
|
||||
{
|
||||
X8DrawingEngine::BeginDraw();
|
||||
}
|
||||
|
||||
void EndDraw() override
|
||||
{
|
||||
X8DrawingEngine::EndDraw();
|
||||
|
||||
@@ -89,8 +89,16 @@ namespace OpenRCT2
|
||||
void SetPalette(const GamePalette& palette) override;
|
||||
void SetVSync(bool vsync) override;
|
||||
void Invalidate(int32_t left, int32_t top, int32_t right, int32_t bottom) override;
|
||||
#ifdef __WARN_SUGGEST_FINAL_METHODS__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wsuggest-final-methods"
|
||||
#pragma GCC diagnostic ignored "-Wsuggest-final-types"
|
||||
#endif
|
||||
void BeginDraw() override;
|
||||
void EndDraw() override;
|
||||
#ifdef __WARN_SUGGEST_FINAL_METHODS__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
void PaintWindows() override;
|
||||
void PaintWeather() override;
|
||||
void CopyRect(int32_t x, int32_t y, int32_t width, int32_t height, int32_t dx, int32_t dy) override;
|
||||
|
||||
Reference in New Issue
Block a user