summaryrefslogtreecommitdiff
path: root/src/gui/widgets/windowcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/windowcontainer.cpp')
-rw-r--r--src/gui/widgets/windowcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/windowcontainer.cpp b/src/gui/widgets/windowcontainer.cpp
index d420e1183..723746ab9 100644
--- a/src/gui/widgets/windowcontainer.cpp
+++ b/src/gui/widgets/windowcontainer.cpp
@@ -61,7 +61,7 @@ void WindowContainer::adjustAfterResize(const int oldScreenWidth,
void WindowContainer::moveWidgetAfter(gcn::Widget *const after,
gcn::Widget *const widget)
{
- WidgetListIterator widgetIter = std::find(
+ const WidgetListIterator widgetIter = std::find(
mWidgets.begin(), mWidgets.end(), widget);
if (widgetIter == mWidgets.end())