summaryrefslogtreecommitdiff
path: root/src/guichan/include
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-02 20:06:58 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-02 20:06:58 +0300
commit45a9bbd34cda3c784b935860a4cc616a0314a57c (patch)
treee4cee8daa007c727e3ce4511e24aebbbcc6bc9d8 /src/guichan/include
parent506bf9c3bd1ddeb70529876148140c6f7c91acf2 (diff)
downloadmv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.gz
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.bz2
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.xz
mv-45a9bbd34cda3c784b935860a4cc616a0314a57c.zip
Replace guichan iterators to const_iterator if need.
Diffstat (limited to 'src/guichan/include')
-rw-r--r--src/guichan/include/guichan/basiccontainer.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/guichan/include/guichan/basiccontainer.hpp b/src/guichan/include/guichan/basiccontainer.hpp
index 998e1f601..6163b6535 100644
--- a/src/guichan/include/guichan/basiccontainer.hpp
+++ b/src/guichan/include/guichan/basiccontainer.hpp
@@ -167,12 +167,22 @@ namespace gcn
*/
typedef WidgetList::iterator WidgetListIterator;
+ /**
+ * Typedef.
+ */
+ typedef WidgetList::const_iterator WidgetListConstIterator;
+
/**
* Typedef.
*/
typedef WidgetList::reverse_iterator WidgetListReverseIterator;
/**
+ * Typedef.
+ */
+ typedef WidgetList::const_reverse_iterator WidgetListCReverseIterator;
+
+ /**
* Holds all widgets of the basic container.
*/
WidgetList mWidgets;