summaryrefslogtreecommitdiff
path: root/src/gui/windows/botcheckerwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 20:25:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-17 21:17:12 +0300
commit97c60f2d4b1be4ea090728f8fe418ed4160a2021 (patch)
treec2dfb142082284c4cc17e926883f67723cb33375 /src/gui/windows/botcheckerwindow.cpp
parent168791f290e5672066c73dc516e4bcaea9ef6893 (diff)
downloadplus-97c60f2d4b1be4ea090728f8fe418ed4160a2021.tar.gz
plus-97c60f2d4b1be4ea090728f8fe418ed4160a2021.tar.bz2
plus-97c60f2d4b1be4ea090728f8fe418ed4160a2021.tar.xz
plus-97c60f2d4b1be4ea090728f8fe418ed4160a2021.zip
fix const issue in botcheckerwindow.
Diffstat (limited to 'src/gui/windows/botcheckerwindow.cpp')
-rw-r--r--src/gui/windows/botcheckerwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/botcheckerwindow.cpp b/src/gui/windows/botcheckerwindow.cpp
index f51683b40..2ce0bce25 100644
--- a/src/gui/windows/botcheckerwindow.cpp
+++ b/src/gui/windows/botcheckerwindow.cpp
@@ -104,7 +104,7 @@ public:
&& botCheckerWindow->mEnabled)
{
std::set<ActorSprite*> beings = actorSpriteManager->getAll();
- FOR_EACH (ActorSprites::const_iterator, i, beings)
+ FOR_EACH (ActorSprites::iterator, i, beings)
{
Being *const being = dynamic_cast<Being*>(*i);
@@ -392,7 +392,7 @@ void BotCheckerWindow::reset()
if (actorSpriteManager)
{
std::set<ActorSprite*> beings = actorSpriteManager->getAll();
- FOR_EACH (ActorSprites::const_iterator, i, beings)
+ FOR_EACH (ActorSprites::iterator, i, beings)
{
Being *const being = dynamic_cast<Being*>(*i);