summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-03 23:28:50 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-03 23:28:50 +0300
commit0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7 (patch)
tree0ed01fa92e7f3fca1057be1111635de8e4cabd46 /src
parente4e65d5c2c1f7d5354f2bacaed59fbedd678578f (diff)
downloadmanaplus-0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7.tar.gz
manaplus-0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7.tar.bz2
manaplus-0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7.tar.xz
manaplus-0ce57395e1c7019c52a989c3a77e2a8eb1bc3cf7.zip
Fix iterator usage in socialwindow.cpp
Diffstat (limited to 'src')
-rw-r--r--src/gui/socialwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index d87b94bad..7b8d064ce 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -472,7 +472,7 @@ public:
if (!finded)
{
delete *ai;
- avatars->erase(ai);
+ ai = avatars->erase(ai);
}
else
{