diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
commit | 71f88c02f79a1164430eec1de3e15edec011a15e (patch) | |
tree | 6a0772ee943a41314b5abd92fed0ce269faced27 /src/gui/widgets/setuptab.h | |
parent | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff) | |
download | mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2 mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz mv-71f88c02f79a1164430eec1de3e15edec011a15e.zip |
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/gui/widgets/setuptab.h')
-rw-r--r-- | src/gui/widgets/setuptab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setuptab.h b/src/gui/widgets/setuptab.h index 8e656234f..ab866ba28 100644 --- a/src/gui/widgets/setuptab.h +++ b/src/gui/widgets/setuptab.h @@ -40,8 +40,6 @@ class SetupTab : public Container, public gcn::WidgetListener { public: - explicit SetupTab(const Widget2 *const widget); - A_DELETE_COPY(SetupTab) const std::string &getName() const A_WARN_UNUSED @@ -60,6 +58,8 @@ class SetupTab : public Container, virtual void externalUpdated(); protected: + explicit SetupTab(const Widget2 *const widget); + /** * Sets the name displayed on the tab. Should be set in the * constructor of a subclass. |