From 45a9bbd34cda3c784b935860a4cc616a0314a57c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Sep 2011 20:06:58 +0300 Subject: Replace guichan iterators to const_iterator if need. --- src/guichan/include/guichan/basiccontainer.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/guichan/include') 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,11 +167,21 @@ 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. */ -- cgit v1.2.3-70-g09d2