summaryrefslogtreecommitdiff
path: root/src/guild.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-25 13:27:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-25 13:27:25 +0300
commitd671eb90eb2ba431ba15123309368520608e5ba3 (patch)
treec2658830de37e50d7c4b66a63e2164c666c2bf25 /src/guild.cpp
parent7f60553aa81fe9e1889b1af12e0fe7db8d68f074 (diff)
downloadmanaverse-d671eb90eb2ba431ba15123309368520608e5ba3.tar.gz
manaverse-d671eb90eb2ba431ba15123309368520608e5ba3.tar.bz2
manaverse-d671eb90eb2ba431ba15123309368520608e5ba3.tar.xz
manaverse-d671eb90eb2ba431ba15123309368520608e5ba3.zip
Fix align in constructors.
Diffstat (limited to 'src/guild.cpp')
-rw-r--r--src/guild.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index a589430e2..a6e5c5ad7 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -61,15 +61,19 @@ namespace
} // namespace
GuildMember::GuildMember(Guild *const guild, const int accountId,
- const int charId, const std::string &name):
- Avatar(name), mGuild(guild), mPos(0)
+ const int charId, const std::string &name) :
+ Avatar(name),
+ mGuild(guild),
+ mPos(0)
{
mId = accountId;
mCharId = charId;
}
-GuildMember::GuildMember(Guild *const guild, const std::string &name):
- Avatar(name), mGuild(guild), mPos(0)
+GuildMember::GuildMember(Guild *const guild, const std::string &name) :
+ Avatar(name),
+ mGuild(guild),
+ mPos(0)
{
}
@@ -83,7 +87,7 @@ std::string GuildMember::getAdditionString() const
Guild::GuildMap Guild::guilds;
-Guild::Guild(const int16_t id):
+Guild::Guild(const int16_t id) :
mMembers(),
mName(),
mId(id),