From 47a9f98c414b029ec6772a07597950b9ec19c6f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 21:24:10 +0300 Subject: add restrict into chatwindow. --- src/gui/windows/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 40cf8e294..ea7a372d4 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1089,8 +1089,8 @@ void ChatWindow::setVisible(bool visible) mTmpVisible = false; } -void ChatWindow::addWhisper(const std::string &nick, - const std::string &mes, const Own own) +void ChatWindow::addWhisper(const std::string &restrict nick, + const std::string &restrict mes, const Own own) { if (mes.empty() || !player_node) return; -- cgit v1.2.3-70-g09d2