From bd288f71195b04dcfabf553a28fbd7d9493a83e3 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Wed, 1 May 2019 12:57:49 -0230 Subject: [PATCH] Fix missing 'override's. --- src/debugger/gui/DebuggerDialog.hxx | 2 +- src/gui/LauncherDialog.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debugger/gui/DebuggerDialog.hxx b/src/debugger/gui/DebuggerDialog.hxx index 3199a7e23..b313bd0e3 100644 --- a/src/debugger/gui/DebuggerDialog.hxx +++ b/src/debugger/gui/DebuggerDialog.hxx @@ -74,7 +74,7 @@ class DebuggerDialog : public Dialog void showFatalMessage(const string& msg); private: - void center() { positionAt(0); } + void center() override { positionAt(0); } void loadConfig() override; void handleKeyDown(StellaKey key, StellaMod mod) override; void handleCommand(CommandSender* sender, int cmd, int data, int id) override; diff --git a/src/gui/LauncherDialog.hxx b/src/gui/LauncherDialog.hxx index 70b89d0a2..fb5e6358f 100644 --- a/src/gui/LauncherDialog.hxx +++ b/src/gui/LauncherDialog.hxx @@ -85,11 +85,11 @@ class LauncherDialog : public Dialog void reload() { updateListing(); } private: - void center() { positionAt(0); } + void center() override { positionAt(0); } void handleKeyDown(StellaKey key, StellaMod mod) override; void handleMouseDown(int x, int y, MouseButton b, int clickCount) override; void handleCommand(CommandSender* sender, int cmd, int data, int id) override; - void handleJoyDown(int stick, int button); + void handleJoyDown(int stick, int button) override; Event::Type getJoyAxisEvent(int stick, int axis, int value) override; void loadConfig() override;