summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-23 16:24:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-23 19:04:08 +0300
commitecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (patch)
tree3e7cbd083fd2d8e25da0ec76b22e62310f1e42c1 /src/net/tmwa
parentbc4c9a33066e26bcdd3c564c90294777a839a5be (diff)
downloadmv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.gz
mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.bz2
mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.xz
mv-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.zip
fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/guildhandler.cpp2
-rw-r--r--src/net/tmwa/guildhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 5ecd9096a..6b97c6020 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -215,7 +215,7 @@ void GuildHandler::invite(int guildId A_UNUSED,
}
}
-void GuildHandler::invite(int guildId A_UNUSED, Being *being)
+void GuildHandler::invite(int guildId A_UNUSED, const Being *const being)
{
if (!being)
return;
diff --git a/src/net/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h
index cb149655c..a2e6a88e3 100644
--- a/src/net/tmwa/guildhandler.h
+++ b/src/net/tmwa/guildhandler.h
@@ -44,7 +44,7 @@ class GuildHandler : public Ea::GuildHandler, public MessageHandler
void invite(int guildId, const std::string &name);
- void invite(int guildId, Being *being);
+ void invite(int guildId, const Being *const being);
void inviteResponse(int guildId, bool response);