From 3b7975f4a06abf2e11178041cc85477c73b01a60 Mon Sep 17 00:00:00 2001 From: Matthias Moninger <5415177+ZehMatt@users.noreply.github.com> Date: Mon, 26 Jun 2023 21:01:03 +0300 Subject: [PATCH] Remove redundant warning suppression code --- src/openrct2/actions/GameActionResult.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/openrct2/actions/GameActionResult.h b/src/openrct2/actions/GameActionResult.h index ae64d34eda..4cf49a6326 100644 --- a/src/openrct2/actions/GameActionResult.h +++ b/src/openrct2/actions/GameActionResult.h @@ -49,12 +49,6 @@ namespace GameActions Unknown = std::numeric_limits>::max(), }; -#ifdef __WARN_SUGGEST_FINAL_METHODS__ -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wsuggest-final-methods" -# pragma GCC diagnostic ignored "-Wsuggest-final-types" -#endif - /** * Represents the result of a game action query or execution. */ @@ -109,8 +103,4 @@ namespace GameActions } }; -#ifdef __WARN_SUGGEST_FINAL_METHODS__ -# pragma GCC diagnostic pop -#endif - } // namespace GameActions