diff --git a/src/openrct2-ui/UiContext.Linux.cpp b/src/openrct2-ui/UiContext.Linux.cpp index a854fae9a1..2692a85f8e 100644 --- a/src/openrct2-ui/UiContext.Linux.cpp +++ b/src/openrct2-ui/UiContext.Linux.cpp @@ -34,7 +34,7 @@ namespace OpenRCT2 { namespace Ui ZENITY, }; - class LinuxContext : public IPlatformUiContext + class LinuxContext final : public IPlatformUiContext { private: diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 3ff009bc37..8753b7a93f 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -51,7 +51,7 @@ using namespace OpenRCT2::Ui; #define KEYBOARD_PRIMARY_MODIFIER KMOD_CTRL #endif -class UiContext : public IUiContext +class UiContext final : public IUiContext { private: constexpr static uint32 TOUCH_DOUBLE_TIMEOUT = 300;