diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-02 20:06:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-02 20:06:58 +0300 |
commit | 45a9bbd34cda3c784b935860a4cc616a0314a57c (patch) | |
tree | e4cee8daa007c727e3ce4511e24aebbbcc6bc9d8 /src/guichan/include | |
parent | 506bf9c3bd1ddeb70529876148140c6f7c91acf2 (diff) | |
download | manaplus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.gz manaplus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.bz2 manaplus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.xz manaplus-45a9bbd34cda3c784b935860a4cc616a0314a57c.zip |
Replace guichan iterators to const_iterator if need.
Diffstat (limited to 'src/guichan/include')
-rw-r--r-- | src/guichan/include/guichan/basiccontainer.hpp | 10 |
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; |