summaryrefslogtreecommitdiff
path: root/src/gui/widgets/windowcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/windowcontainer.h')
-rw-r--r--src/gui/widgets/windowcontainer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h
index 1da5a2cd..3e01bb36 100644
--- a/src/gui/widgets/windowcontainer.h
+++ b/src/gui/widgets/windowcontainer.h
@@ -37,7 +37,7 @@ class WindowContainer : public Container
* Do GUI logic. This functions adds automatic deletion of objects that
* volunteered to be deleted.
*/
- void logic();
+ void logic() override;
/**
* Schedule a widget for deletion. It will be deleted at the start of
@@ -55,8 +55,8 @@ class WindowContainer : public Container
/**
* List of widgets that are scheduled to be deleted.
*/
- typedef std::list<gcn::Widget*> Widgets;
- typedef Widgets::iterator WidgetIterator;
+ using Widgets = std::list<gcn::Widget *>;
+ using WidgetIterator = Widgets::iterator;
Widgets mDeathList;
};