diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-30 04:58:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-30 04:58:55 +0300 |
commit | a7c7cc655f94acc4476e681ac258ff6981702944 (patch) | |
tree | f7d504f11cafcd32e563f1f8a0954c522ba902b8 /src/guichan/include | |
parent | dda225eebf1c3cb9e0b4e657a0875d1180380159 (diff) | |
download | plus-a7c7cc655f94acc4476e681ac258ff6981702944.tar.gz plus-a7c7cc655f94acc4476e681ac258ff6981702944.tar.bz2 plus-a7c7cc655f94acc4476e681ac258ff6981702944.tar.xz plus-a7c7cc655f94acc4476e681ac258ff6981702944.zip |
Small speed improve in guichan code.
Diffstat (limited to 'src/guichan/include')
-rw-r--r-- | src/guichan/include/guichan/widget.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guichan/include/guichan/widget.hpp b/src/guichan/include/guichan/widget.hpp index 0f8c803ca..ccb56ea70 100644 --- a/src/guichan/include/guichan/widget.hpp +++ b/src/guichan/include/guichan/widget.hpp @@ -45,6 +45,7 @@ #define GCN_WIDGET_HPP #include <list> +#include <set> #include <string> #include "guichan/color.hpp" @@ -1196,6 +1197,8 @@ namespace gcn * Holds a list of all instances of widgets. */ static std::list<Widget*> mWidgets; + + static std::set<Widget*> mWidgetsSet; }; } |