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;