summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 12:42:21 +0300
commit45f77fd60f71322b288a4497dea5b583b2692613 (patch)
tree5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/gui/widgets/setupitem.h
parentd2e744dab8c38ef56184251fe96293fa0f51fb9f (diff)
downloadmanaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz
manaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2
manaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz
manaverse-45f77fd60f71322b288a4497dea5b583b2692613.zip
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 9c5cc11e3..dae7d83d9 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -59,7 +59,7 @@ class SetupItem : public gcn::ActionListener,
A_DELETE_COPY(SetupItem)
- ~SetupItem();
+ virtual ~SetupItem();
void load();
@@ -429,7 +429,7 @@ class SetupItemSliderList : public SetupItem
public:
A_DELETE_COPY(SetupItemSliderList)
- ~SetupItemSliderList();
+ virtual ~SetupItemSliderList();
void createControls();