summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 13:46:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 13:46:48 +0300
commit5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474 (patch)
tree423ae260404dcbff3143cb9d733b0aaf78a093a4 /src/net/tmwa/chathandler.h
parentfede4529512844d69f1812133719029392e8e0aa (diff)
downloadmanaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.gz
manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.bz2
manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.xz
manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.zip
add restrict into chathandler.
Diffstat (limited to 'src/net/tmwa/chathandler.h')
-rw-r--r--src/net/tmwa/chathandler.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index a21c0afe1..1c691397e 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -40,13 +40,13 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void handleMessage(Net::MessageIn &msg) override final;
- void talk(const std::string &text,
- const std::string &channel) const override final;
+ void talk(const std::string &restrict text,
+ const std::string &restrict channel) const override final;
void talkRaw(const std::string &text) const override final;
- void privateMessage(const std::string &recipient,
- const std::string &text) override final;
+ void privateMessage(const std::string &restrict recipient,
+ const std::string &restrict text) override final;
void who() const override final;
@@ -56,7 +56,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void unIgnoreAll() const override final;
- static void processRaw(MessageOut &outMsg, const std::string &line);
+ static void processRaw(MessageOut &restrict outMsg,
+ const std::string &restrict line);
};
} // namespace TmwAthena