diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-26 13:46:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-26 13:46:48 +0300 |
commit | 5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474 (patch) | |
tree | 423ae260404dcbff3143cb9d733b0aaf78a093a4 /src/net/chathandler.h | |
parent | fede4529512844d69f1812133719029392e8e0aa (diff) | |
download | manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.gz manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.bz2 manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.xz manaverse-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.zip |
add restrict into chathandler.
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r-- | src/net/chathandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h index f5cf03f9f..aab74e85a 100644 --- a/src/net/chathandler.h +++ b/src/net/chathandler.h @@ -36,16 +36,16 @@ class ChatHandler virtual ~ChatHandler() { } - virtual void talk(const std::string &text, - const std::string &channel) const = 0; + virtual void talk(const std::string &restrict text, + const std::string &restrict channel) const = 0; virtual void talkRaw(const std::string &text) const = 0; virtual void me(const std::string &restrict text, const std::string &restrict channel) const = 0; - virtual void privateMessage(const std::string &recipient, - const std::string &text) = 0; + virtual void privateMessage(const std::string &restrict recipient, + const std::string &restrict text) = 0; virtual void who() const = 0; |