summaryrefslogtreecommitdiff
path: root/src/guild.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 18:29:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 18:30:16 +0300
commita316d537dce50f4b4e1e10f5c26a7851baddbd8b (patch)
tree078de355216db6dab67df9575402cdba7d537dbd /src/guild.cpp
parentcb00b6fe126afe5fff8fc7ff491fda6003ea68f2 (diff)
downloadmv-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.gz
mv-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.bz2
mv-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.xz
mv-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.zip
Small style changes.
Also fix overloaded methods visibility.
Diffstat (limited to 'src/guild.cpp')
-rw-r--r--src/guild.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index 11817c48d..1e577b2b5 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -95,7 +95,7 @@ GuildMember *Guild::addMember(int accountId, int charId,
const std::string &name)
{
GuildMember *m;
- if ((m = getMember(accountId, charId)))
+ if (m = getMember(accountId, charId))
return m;
m = new GuildMember(this, accountId, charId, name);
@@ -108,7 +108,7 @@ GuildMember *Guild::addMember(int accountId, int charId,
GuildMember *Guild::addMember(const std::string &name)
{
GuildMember *m;
- if ((m = getMember(name)))
+ if (m = getMember(name))
return m;
m = new GuildMember(this, name);