summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/basiccontainer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/basiccontainer.hpp')
-rw-r--r--src/guichan/include/guichan/basiccontainer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/basiccontainer.hpp b/src/guichan/include/guichan/basiccontainer.hpp
index 269a5ba44..b63b83cd8 100644
--- a/src/guichan/include/guichan/basiccontainer.hpp
+++ b/src/guichan/include/guichan/basiccontainer.hpp
@@ -45,6 +45,7 @@
#define GCN_BASICCONTAINER_HPP
#include <list>
+#include <vector>
#include "guichan/deathlistener.hpp"
#include "guichan/platform.hpp"
@@ -159,7 +160,7 @@ namespace gcn
/**
* Typedef.
*/
- typedef std::list<Widget *> WidgetList;
+ typedef std::vector<Widget *> WidgetList;
/**
* Typedef.