diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-02 19:42:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-02 20:05:36 +0300 |
commit | c92bfce739f2ff463365aaa47a50ebbb1bfef7e9 (patch) | |
tree | 13fc9ff1418b31022f173d714dcf153fee8891e8 /src/guichan/include | |
parent | ccbe435e2a97ffe3d371e992462ccf5af591d4cd (diff) | |
download | manaplus-c92bfce739f2ff463365aaa47a50ebbb1bfef7e9.tar.gz manaplus-c92bfce739f2ff463365aaa47a50ebbb1bfef7e9.tar.bz2 manaplus-c92bfce739f2ff463365aaa47a50ebbb1bfef7e9.tar.xz manaplus-c92bfce739f2ff463365aaa47a50ebbb1bfef7e9.zip |
A bit improve speed in guichan containers.
Diffstat (limited to 'src/guichan/include')
-rw-r--r-- | src/guichan/include/guichan/basiccontainer.hpp | 3 |
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. |