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/widgets/widgetgroup.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/widgetgroup.h') diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h index ad2ee4e64..27d1a7357 100644 --- a/src/gui/widgets/widgetgroup.h +++ b/src/gui/widgets/widgetgroup.h @@ -38,13 +38,14 @@ class WidgetGroup : public Container, virtual void addButton(std::string text, std::string tag); - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; - virtual void add(gcn::Widget *const widget, const int spacing); + virtual void add(gcn::Widget *const widget, + const int spacing); virtual void clear(); - void widgetResized(const gcn::Event &event); + void widgetResized(const gcn::Event &event) override; virtual Widget *createWidget(const std::string &name) = 0; -- cgit v1.2.3-60-g2f50