From 5aa20a895f64dd38f0c7ad9e79c1b2dcb0c76474 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Dec 2013 13:46:48 +0300 Subject: add restrict into chathandler. --- src/net/chathandler.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net/chathandler.h') 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; -- cgit v1.2.3-70-g09d2