From bf24a3b7fcf8235a272a86c1e81e902aba2304d6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 Jan 2003 02:30:58 +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 41aa1ebb..a7aded34 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -594,7 +594,7 @@ void Screen::lowerWindow(Client *client) assert(!_stacking.empty()); // this would be bad Client::List::iterator it = --_stacking.end(); - Client::List::const_iterator end = _stacking.begin(); + const Client::List::iterator end = _stacking.begin(); for (; it != end && (*it)->layer() < client->layer(); --it); if (*it == client) return; // already the bottom, return -- 2.39.2