summaryrefslogtreecommitdiff
path: root/src/party.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
commit3133a725a57e275b76cccd0866cab6a00a07d1a6 (patch)
treeb5abce4046623ea08467897d8aea27fe0619b5b5 /src/party.cpp
parent6c3ab80385465cdaf88643fd964706827e2b61d6 (diff)
downloadplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.gz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.bz2
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.xz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.zip
Fix code style.
Diffstat (limited to 'src/party.cpp')
-rw-r--r--src/party.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/party.cpp b/src/party.cpp
index effcd95f1..a013e945b 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -126,7 +126,7 @@ void Party::removeMember(const PartyMember *const member)
const MemberList::iterator itr_end = mMembers.end();
while (itr != itr_end)
{
- const PartyMember *const m = *itr;
+ PartyMember *const m = *itr;
if (m && m->mId == member->mId
&& m->getName() == member->getName())
{
@@ -150,7 +150,7 @@ void Party::removeMember(const int id)
const MemberList::iterator itr_end = mMembers.end();
while (itr != itr_end)
{
- const PartyMember *const member = *itr;
+ PartyMember *const member = *itr;
if (member && member->mId == id)
{
mMembers.erase(itr);
@@ -173,7 +173,7 @@ void Party::removeMember(const std::string &name)
const MemberList::iterator itr_end = mMembers.end();
while (itr != itr_end)
{
- const PartyMember *const member = *itr;
+ PartyMember *const member = *itr;
if (member && member->getName() == name)
{
mMembers.erase(itr);