From 41f376f7aa3f1a8d285e3cc10ecebdfb2f79c17d Mon Sep 17 00:00:00 2001 From: Ted John Date: Mon, 8 May 2017 18:11:42 +0100 Subject: [PATCH] Add final to implementations --- src/openrct2-ui/UiContext.Linux.cpp | 2 +- src/openrct2-ui/UiContext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;