diff options
Diffstat (limited to 'src/gui/windows')
-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(); |