diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 23:04:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 23:04:28 +0300 |
commit | 6f7e50348f6366e5bf7f3a20b2b65297c811f3ba (patch) | |
tree | 4304b5be187e03f1dae6e9cd6b61e81b01480fe8 /src | |
parent | 15285d0863273f8810aa7ef260873fee3b533547 (diff) | |
download | manaplus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.gz manaplus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.bz2 manaplus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.tar.xz manaplus-6f7e50348f6366e5bf7f3a20b2b65297c811f3ba.zip |
add restrict into socialwindow.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 8 | ||||
-rw-r--r-- | src/gui/windows/socialwindow.h | 9 |
2 files changed, 9 insertions, 8 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()) diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h index bbd84bbdc..6cb1b252f 100644 --- a/src/gui/windows/socialwindow.h +++ b/src/gui/windows/socialwindow.h @@ -66,13 +66,14 @@ public: void action(const gcn::ActionEvent &event) override final; - void showGuildInvite(const std::string &guildName, const int guildId, - const std::string &inviterName); + void showGuildInvite(const std::string &restrict guildName, + const int guildId, + const std::string &restrict inviterName); void showGuildCreate(); - void showPartyInvite(const std::string &partyName, - const std::string &inviter = ""); + void showPartyInvite(const std::string &restrict partyName, + const std::string &restrict inviter = ""); void showPartyCreate(); |