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/didyouknowwindow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/didyouknowwindow.h') diff --git a/src/gui/didyouknowwindow.h b/src/gui/didyouknowwindow.h index 737203298..b0850bf64 100644 --- a/src/gui/didyouknowwindow.h +++ b/src/gui/didyouknowwindow.h @@ -54,12 +54,13 @@ class DidYouKnowWindow final : public Window, /** * Called when receiving actions from the widgets. */ - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; /** * Handles link action. */ - void handleLink(const std::string &link, gcn::MouseEvent *event); + void handleLink(const std::string &link, + gcn::MouseEvent *event) override; void loadData(int num = 0); -- cgit v1.2.3-60-g2f50