From d4e289e6bed3cff65e106fc6ed5aabfedb4e7da8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Jul 2014 13:02:39 +0300 Subject: Fix compilation with some options. --- src/gui/windows/setupwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp index 07a4b776a..dbe7e9108 100644 --- a/src/gui/windows/setupwindow.cpp +++ b/src/gui/windows/setupwindow.cpp @@ -245,7 +245,7 @@ void SetupWindow::registerWindowForReset(Window *const window) void SetupWindow::unregisterWindowForReset(Window *const window) { - FOR_EACH (std::list::const_iterator, it, mWindowsToReset) + FOR_EACH (std::list::iterator, it, mWindowsToReset) { if (*it == window) { -- cgit v1.2.3-70-g09d2