From fb2dc562e312d5499446a39cdd432746bcdbb666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 19 Dec 2024 20:15:37 +0100 Subject: [PATCH] Platform: suppress useless deprecation warnings on older GCCs. --- src/Magnum/Platform/Sdl2Application.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index 4de6d6641..2c9fa0f16 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -3426,16 +3426,24 @@ class CORRADE_DEPRECATED("use ScrollEvent and scrollEvent() instead") Sdl2Applic class CORRADE_DEPRECATED("use TwoFingerGesture with pointerPressEvent(), pointerReleaseEvent() and pointerMoveEvent() instead") Sdl2Application::MultiGestureEvent { public: /** @brief Copying is not allowed */ + CORRADE_IGNORE_DEPRECATED_PUSH /* GCC 4.8 warns due to the argument */ MultiGestureEvent(const MultiGestureEvent&) = delete; + CORRADE_IGNORE_DEPRECATED_POP /** @brief Moving is not allowed */ + CORRADE_IGNORE_DEPRECATED_PUSH /* GCC 4.8 warns due to the argument */ MultiGestureEvent(MultiGestureEvent&&) = delete; + CORRADE_IGNORE_DEPRECATED_POP /** @brief Copying is not allowed */ + CORRADE_IGNORE_DEPRECATED_PUSH /* GCC 4.8 warns due to the argument */ MultiGestureEvent& operator=(const MultiGestureEvent&) = delete; + CORRADE_IGNORE_DEPRECATED_POP /** @brief Moving is not allowed */ + CORRADE_IGNORE_DEPRECATED_PUSH /* GCC 4.8 warns due to the argument */ MultiGestureEvent& operator=(MultiGestureEvent&&) = delete; + CORRADE_IGNORE_DEPRECATED_POP /** @brief Whether the event is accepted */ bool isAccepted() const { return _accepted; }