summaryrefslogtreecommitdiff
path: root/src/net/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/chathandler.h
parentfede4529512844d69f1812133719029392e8e0aa (diff)
downloadmv-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.gz
mv-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.bz2
mv-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.tar.xz
mv-5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474.zip
add restrict into chathandler.
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h8
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;