From 71f88c02f79a1164430eec1de3e15edec011a15e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 18:35:21 +0300 Subject: improve construcors in abstract classes. Also add some missing final to classes. --- src/gui/widgets/widgetgroup.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/widgetgroup.h') diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h index 55507f316..308c8fb8a 100644 --- a/src/gui/widgets/widgetgroup.h +++ b/src/gui/widgets/widgetgroup.h @@ -33,10 +33,6 @@ class WidgetGroup : public Container, public gcn::ActionListener { public: - WidgetGroup(const Widget2 *const widget, - const std::string &group, const int height, - const int spacing); - A_DELETE_COPY(WidgetGroup) virtual void addButton(const std::string &tag); @@ -57,6 +53,10 @@ class WidgetGroup : public Container, const A_WARN_UNUSED = 0; protected: + WidgetGroup(const Widget2 *const widget, + const std::string &group, const int height, + const int spacing); + int mSpacing; int mCount; std::string mGroup; -- cgit v1.2.3-70-g09d2