summaryrefslogtreecommitdiff
path: root/src/guichan/widgets
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/widgets
parent506bf9c3bd1ddeb70529876148140c6f7c91acf2 (diff)
downloadplus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.gz
plus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.bz2
plus-45a9bbd34cda3c784b935860a4cc616a0314a57c.tar.xz
plus-45a9bbd34cda3c784b935860a4cc616a0314a57c.zip
Replace guichan iterators to const_iterator if need.
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r--src/guichan/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp
index 4779fb0ce..7b04981c2 100644
--- a/src/guichan/widgets/window.cpp
+++ b/src/guichan/widgets/window.cpp
@@ -279,7 +279,7 @@ namespace gcn
void Window::resizeToContent()
{
- WidgetListIterator it;
+ WidgetListConstIterator it;
int w = 0, h = 0;
for (it = mWidgets.begin(); it != mWidgets.end(); it++)