diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-30 23:14:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-01 02:08:53 +0300 |
commit | 32014de9008efe051a1a8b05e5e976a4629b34d2 (patch) | |
tree | 694b93739685b8b8462c7f602b8ae693be5e65bf /src/gui/widgets/windowcontainer.h | |
parent | 5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff) | |
download | manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2 manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.zip |
Replace some lists to vectors.
Diffstat (limited to 'src/gui/widgets/windowcontainer.h')
-rw-r--r-- | src/gui/widgets/windowcontainer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h index 757f7ab5a..b27ba927f 100644 --- a/src/gui/widgets/windowcontainer.h +++ b/src/gui/widgets/windowcontainer.h @@ -25,6 +25,8 @@ #include "gui/widgets/container.h" +#include <vector> + /** * A window container. This container adds functionality for more convenient * widget (windows in particular) destruction. @@ -50,7 +52,7 @@ class WindowContainer : public Container /** * List of widgets that are scheduled to be deleted. */ - typedef std::list<gcn::Widget*> Widgets; + typedef std::vector<gcn::Widget*> Widgets; typedef Widgets::iterator WidgetIterator; Widgets mDeathList; }; |