]> Dogcows Code - chaz/openbox/blobdiff - src/screen.cc
dont use a const_iterator
[chaz/openbox] / src / screen.cc
index 41aa1ebbc8c72427a78c3c4ba9f11484828bba40..a7aded34273be936b60cdb42fd297374cc6b4594 100644 (file)
@@ -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
This page took 0.020851 seconds and 4 git commands to generate.