From a2971c05237aabe5b3d4027c7b6c2ffada6e9607 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Dec 2013 13:52:40 +0300 Subject: add restrict into guildhandler. --- src/net/eathena/guildhandler.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/net/eathena/guildhandler.h') diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h index f8ee35fd6..5ecfb122b 100644 --- a/src/net/eathena/guildhandler.h +++ b/src/net/eathena/guildhandler.h @@ -53,8 +53,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void leave(const int guildId) const override final; - void kick(const GuildMember *const member, - const std::string &reason) const override final; + void kick(const GuildMember *restrict const member, + const std::string &restrict reason) const override final; void chat(const int guildId, const std::string &text) const override final; @@ -66,8 +66,10 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler void changeMemberPostion(const GuildMember *const member, const int level) const override final; - void changeNotice(const int guildId, const std::string &msg1, - const std::string &msg2) const override final; + void changeNotice(const int guildId, + const std::string &restrict msg1, + const std::string &restrict msg2) + const override final; }; extern Ea::GuildTab *guildTab; -- cgit v1.2.3-70-g09d2