diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/chattab.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/guildchattab.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/guildchattab.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/whispertab.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/whispertab.h | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/tabs/chattab.h b/src/gui/widgets/tabs/chattab.h index b9f0dff10..5ddab84c3 100644 --- a/src/gui/widgets/tabs/chattab.h +++ b/src/gui/widgets/tabs/chattab.h @@ -122,8 +122,8 @@ class ChatTab : public Tab * @returns true if the command was handled * false if the command was not handled */ - virtual bool handleCommand(const std::string &type A_UNUSED, - const std::string &args A_UNUSED) + virtual bool handleCommand(const std::string &restrict type A_UNUSED, + const std::string &restrict args A_UNUSED) { return false; } /** diff --git a/src/gui/widgets/tabs/guildchattab.cpp b/src/gui/widgets/tabs/guildchattab.cpp index 69a4faaf3..aab9c6e62 100644 --- a/src/gui/widgets/tabs/guildchattab.cpp +++ b/src/gui/widgets/tabs/guildchattab.cpp @@ -52,8 +52,8 @@ GuildChatTab::~GuildChatTab() CHECKLISTENERS } -bool GuildChatTab::handleCommand(const std::string &type, - const std::string &args) +bool GuildChatTab::handleCommand(const std::string &restrict type, + const std::string &restrict args) { if (type == "help") { diff --git a/src/gui/widgets/tabs/guildchattab.h b/src/gui/widgets/tabs/guildchattab.h index 469a10936..b2e364038 100644 --- a/src/gui/widgets/tabs/guildchattab.h +++ b/src/gui/widgets/tabs/guildchattab.h @@ -37,8 +37,8 @@ class GuildChatTab final : public ChatTab, public ConfigListener ~GuildChatTab(); - bool handleCommand(const std::string &type, - const std::string &args) override final; + bool handleCommand(const std::string &restrict type, + const std::string &restrict args) override final; void showHelp() override; diff --git a/src/gui/widgets/tabs/whispertab.cpp b/src/gui/widgets/tabs/whispertab.cpp index 58849b623..d7243e2ab 100644 --- a/src/gui/widgets/tabs/whispertab.cpp +++ b/src/gui/widgets/tabs/whispertab.cpp @@ -102,8 +102,8 @@ void WhisperTab::showHelp() chatLog(_("/close > Close the whisper tab")); } -bool WhisperTab::handleCommand(const std::string &type, - const std::string &args) +bool WhisperTab::handleCommand(const std::string &restrict type, + const std::string &restrict args) { if (type == "help") { diff --git a/src/gui/widgets/tabs/whispertab.h b/src/gui/widgets/tabs/whispertab.h index db7233525..bf41e459d 100644 --- a/src/gui/widgets/tabs/whispertab.h +++ b/src/gui/widgets/tabs/whispertab.h @@ -38,8 +38,8 @@ class WhisperTab final : public ChatTab void showHelp() override final; - bool handleCommand(const std::string &type, - const std::string &args) override final; + bool handleCommand(const std::string &restrict type, + const std::string &restrict args) override final; int getType() const override final A_WARN_UNUSED { return ChatTab::TAB_WHISPER; } |