From a7c7cc655f94acc4476e681ac258ff6981702944 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Jun 2011 04:58:55 +0300 Subject: Small speed improve in guichan code. --- src/guichan/include/guichan/widget.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/guichan/include') 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 +#include #include #include "guichan/color.hpp" @@ -1196,6 +1197,8 @@ namespace gcn * Holds a list of all instances of widgets. */ static std::list mWidgets; + + static std::set mWidgetsSet; }; } -- cgit v1.2.3-70-g09d2