summaryrefslogtreecommitdiff
path: root/src/net/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 13:29:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 13:29:46 +0300
commita4553936a39b21589a5af8c1bdda3d1d99a825ca (patch)
tree650ef6a43cc3398ca2ce1a2fa7fa91f48b40be1f /src/net/chathandler.h
parentdabd3fcef84f2e32c34c2d514bb8420628288bc8 (diff)
downloadmv-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.gz
mv-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.bz2
mv-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.xz
mv-a4553936a39b21589a5af8c1bdda3d1d99a825ca.zip
add restrict into chathandler.
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r--src/net/chathandler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h
index e91be671c..f5cf03f9f 100644
--- a/src/net/chathandler.h
+++ b/src/net/chathandler.h
@@ -26,6 +26,8 @@
#include <iosfwd>
#include <string>
+#include "localconsts.h"
+
namespace Net
{
class ChatHandler
@@ -39,8 +41,8 @@ class ChatHandler
virtual void talkRaw(const std::string &text) const = 0;
- virtual void me(const std::string &text,
- const std::string &channel) 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;