]> Dogcows Code - chaz/openbox/commitdiff
dont use a const_iterator
authorDana Jansens <danakj@orodu.net>
Thu, 23 Jan 2003 02:29:17 +0000 (02:29 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 23 Jan 2003 02:29:17 +0000 (02:29 +0000)
src/screen.cc

index 6bc04ad133382f3cb93109ee23d32a9ef7aac668..41aa1ebbc8c72427a78c3c4ba9f11484828bba40 100644 (file)
@@ -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);
This page took 0.023491 seconds and 4 git commands to generate.