From 7048f64f4580b8d43176ba2e3114c339c0013a40 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 Jan 2003 02:29:17 +0000 Subject: [PATCH] dont use a const_iterator --- src/screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.cc b/src/screen.cc index 6bc04ad1..41aa1ebb 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -619,7 +619,7 @@ void Screen::raiseWindow(Client *client) _stacking.remove(client); Client::List::iterator it = _stacking.begin(); - Client::List::const_iterator end = _stacking.end(); + const Client::List::iterator end = _stacking.end(); // the stacking list is from highest to lowest for (; it != end && (*it)->layer() > client->layer(); ++it); -- 2.45.2