diff --git a/src/Platform/AbstractXApplication.h b/src/Platform/AbstractXApplication.h index 179f0f158..f8d410356 100644 --- a/src/Platform/AbstractXApplication.h +++ b/src/Platform/AbstractXApplication.h @@ -289,7 +289,7 @@ class AbstractXApplication::InputEvent { protected: constexpr InputEvent(Modifiers modifiers): _modifiers(modifiers), _accepted(false) {} - ~InputEvent() = default; + ~InputEvent(); #endif private: @@ -297,6 +297,8 @@ class AbstractXApplication::InputEvent { bool _accepted; }; +AbstractXApplication::InputEvent::~InputEvent() = default; + CORRADE_ENUMSET_OPERATORS(AbstractXApplication::InputEvent::Modifiers) /** diff --git a/src/Platform/GlutApplication.h b/src/Platform/GlutApplication.h index 7a5e0d35e..09850e399 100644 --- a/src/Platform/GlutApplication.h +++ b/src/Platform/GlutApplication.h @@ -366,12 +366,14 @@ class GlutApplication::InputEvent { protected: constexpr InputEvent(): _accepted(false) {} - ~InputEvent() = default; + ~InputEvent(); private: bool _accepted; }; +GlutApplication::InputEvent::~InputEvent() = default; + /** @brief Key event diff --git a/src/Platform/GlxContextHandler.h b/src/Platform/GlxContextHandler.h index 24ac70e7e..f78350800 100644 --- a/src/Platform/GlxContextHandler.h +++ b/src/Platform/GlxContextHandler.h @@ -49,7 +49,7 @@ GlxApplication. */ class GlxContextHandler: public AbstractContextHandler { public: - explicit GlxContextHandler() = default; + explicit GlxContextHandler(); ~GlxContextHandler(); VisualID getVisualId(Display* nativeDisplay) override; @@ -68,6 +68,8 @@ class GlxContextHandler: public AbstractContextHandler