summaryrefslogtreecommitdiff
path: root/src/net/ea/chathandler.cpp
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/ea/chathandler.cpp
parentdabd3fcef84f2e32c34c2d514bb8420628288bc8 (diff)
downloadmanaplus-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.gz
manaplus-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.bz2
manaplus-a4553936a39b21589a5af8c1bdda3d1d99a825ca.tar.xz
manaplus-a4553936a39b21589a5af8c1bdda3d1d99a825ca.zip
add restrict into chathandler.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r--src/net/ea/chathandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 267d1102d..698a03ef4 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -62,7 +62,8 @@ void ChatHandler::clear()
mSkipping = true;
}
-void ChatHandler::me(const std::string &text, const std::string &channel) const
+void ChatHandler::me(const std::string &restrict text,
+ const std::string &restrict channel) const
{
// here need string duplication
std::string action = strprintf("*%s*", text.c_str());