summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 23:04:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 23:04:28 +0300
commit6f7e50348f6366e5bf7f3a20b2b65297c811f3ba (patch)
tree4304b5be187e03f1dae6e9cd6b61e81b01480fe8 /src/gui/windows/socialwindow.cpp
parent15285d0863273f8810aa7ef260873fee3b533547 (diff)
downloadplus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.gz
plus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.bz2
plus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.xz
plus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.zip
add restrict into socialwindow.
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r--src/gui/windows/socialwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index bc5c0b888..1ce3fbd07 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -1616,9 +1616,9 @@ void SocialWindow::showGuildCreate()
mGuildCreateDialog->addActionListener(this);
}
-void SocialWindow::showGuildInvite(const std::string &guildName,
+void SocialWindow::showGuildInvite(const std::string &restrict guildName,
const int guildId,
- const std::string &inviterName)
+ const std::string &restrict inviterName)
{
// check there isnt already an invite showing
if (mGuildInvited != 0)
@@ -1648,8 +1648,8 @@ void SocialWindow::showGuildInvite(const std::string &guildName,
mGuildInvited = guildId;
}
-void SocialWindow::showPartyInvite(const std::string &partyName,
- const std::string &inviter)
+void SocialWindow::showPartyInvite(const std::string &restrict partyName,
+ const std::string &restrict inviter)
{
// check there isnt already an invite showing
if (!mPartyInviter.empty())