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/widgets/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guichan/widgets') 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++) -- cgit v1.2.3-70-g09d2