summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/gui/guildtab.cpp3
-rw-r--r--src/net/ea/gui/guildtab.h4
-rw-r--r--src/net/ea/gui/partytab.cpp3
-rw-r--r--src/net/ea/gui/partytab.h4
4 files changed, 8 insertions, 6 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index e0a8937d1..bc3cc170c 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -60,7 +60,8 @@ GuildTab::~GuildTab()
CHECKLISTENERS
}
-bool GuildTab::handleCommand(const std::string &type, const std::string &args)
+bool GuildTab::handleCommand(const std::string &restrict type,
+ const std::string &restrict args)
{
if (type == "help")
{
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h
index edc8ca973..50932f632 100644
--- a/src/net/ea/gui/guildtab.h
+++ b/src/net/ea/gui/guildtab.h
@@ -40,8 +40,8 @@ class GuildTab : public ChatTab, public ConfigListener
virtual ~GuildTab();
- 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/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index f3c1d0377..2c1065784 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -86,7 +86,8 @@ void PartyTab::showHelp()
chatLog(_("/exp > Show/change party experience sharing options"));
}
-bool PartyTab::handleCommand(const std::string &type, const std::string &args)
+bool PartyTab::handleCommand(const std::string &restrict type,
+ const std::string &restrict args)
{
if (type == "help")
{
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index 1ab50a1b7..67136e05f 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -42,8 +42,8 @@ class PartyTab : public ChatTab, public ConfigListener
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_PARTY; }