diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-23 16:24:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-23 19:04:08 +0300 |
commit | ecc0dbab411d6f1f741dd19d0bc593ecc36a4941 (patch) | |
tree | 3e7cbd083fd2d8e25da0ec76b22e62310f1e42c1 /src/net | |
parent | bc4c9a33066e26bcdd3c564c90294777a839a5be (diff) | |
download | manaplus-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.gz manaplus-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.bz2 manaplus-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.tar.xz manaplus-ecc0dbab411d6f1f741dd19d0bc593ecc36a4941.zip |
fix code style.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/guildhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/guildhandler.h | 2 | ||||
-rw-r--r-- | src/net/guildhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/guildhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/guildhandler.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 74a14f132..000718203 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/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/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index ab9ef3c77..7fd318259 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/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); diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h index b8af633de..894bc2671 100644 --- a/src/net/guildhandler.h +++ b/src/net/guildhandler.h @@ -45,7 +45,7 @@ class GuildHandler virtual void invite(int guildId, const std::string &name) = 0; - virtual void invite(int guildId, Being *being) = 0; + virtual void invite(int guildId, const Being *const being) = 0; virtual void inviteResponse(int guildId, bool response) = 0; 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); |