summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 9d9b11471..f3b907cb2 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -1143,8 +1143,7 @@ public:
if (!players)
return;
- for (StringVectCIter it = players->begin(), it_end = players->end();
- it != it_end; ++ it)
+ FOR_EACHP (StringVectCIter, it, players)
{
Avatar *const ava = new Avatar(*it);
if (actorSpriteManager->findBeingByName(*it, Being::PLAYER)