From 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 02:34:48 +0300 Subject: Add override keyword to most overriden methods. --- src/gui/connectiondialog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/connectiondialog.h') diff --git a/src/gui/connectiondialog.h b/src/gui/connectiondialog.h index 56923bb7d..eb528868d 100644 --- a/src/gui/connectiondialog.h +++ b/src/gui/connectiondialog.h @@ -51,9 +51,9 @@ class ConnectionDialog final : public Window, private gcn::ActionListener * Called when the user presses Cancel. Restores the global state to * the previous one. */ - void action(const gcn::ActionEvent &); + void action(const gcn::ActionEvent &) override; - void draw(gcn::Graphics *graphics); + void draw(gcn::Graphics *graphics) override; private: State mCancelState; -- cgit v1.2.3-60-g2f50