dont use a const_iterator
This commit is contained in:
parent
f9818bff71
commit
7048f64f45
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue