From 531433248fbad49e2b8e9d90de9855f3ea9b2257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 19:01:23 +0300 Subject: Another part with FOR_EACH changes. --- src/gui/botcheckerwindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gui/botcheckerwindow.cpp') diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp index 3164ca7c5..5e2841879 100644 --- a/src/gui/botcheckerwindow.cpp +++ b/src/gui/botcheckerwindow.cpp @@ -110,8 +110,7 @@ public: && botCheckerWindow->mEnabled) { std::set beings = actorSpriteManager->getAll(); - for (ActorSprites::const_iterator i = beings.begin(), - i_end = beings.end(); i != i_end; ++i) + FOR_EACH (ActorSprites::const_iterator, i, beings) { Being *const being = dynamic_cast(*i); @@ -396,8 +395,7 @@ void BotCheckerWindow::reset() if (actorSpriteManager) { std::set beings = actorSpriteManager->getAll(); - for (ActorSprites::const_iterator i = beings.begin(), - i_end = beings.end(); i != i_end; ++i) + FOR_EACH (ActorSprites::const_iterator, i, beings) { Being *const being = dynamic_cast(*i); -- cgit v1.2.3-70-g09d2