summaryrefslogtreecommitdiff
path: root/src/net/ea/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gui')
-rw-r--r--src/net/ea/gui/guildtab.cpp2
-rw-r--r--src/net/ea/gui/guildtab.h2
-rw-r--r--src/net/ea/gui/partytab.cpp2
-rw-r--r--src/net/ea/gui/partytab.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 1cfdd7b90..86f0e65a6 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -155,7 +155,7 @@ void GuildTab::getAutoCompleteList(StringVect &names) const
names.push_back("/notice ");
}
-void GuildTab::saveToLogFile(const std::string &msg)
+void GuildTab::saveToLogFile(const std::string &msg) const
{
if (chatLogger)
chatLogger->log("#Guild", msg);
diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h
index 1fe57437d..f5230615f 100644
--- a/src/net/ea/gui/guildtab.h
+++ b/src/net/ea/gui/guildtab.h
@@ -45,7 +45,7 @@ class GuildTab : public ChatTab, public ConfigListener
void showHelp() override;
- void saveToLogFile(const std::string &msg) override;
+ void saveToLogFile(const std::string &msg) const override;
int getType() const override A_WARN_UNUSED
{ return ChatTab::TAB_GUILD; }
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index 5cca1d54a..2b93793d3 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -275,7 +275,7 @@ void PartyTab::getAutoCompleteList(StringVect &names) const
p->getNames(names);
}
-void PartyTab::saveToLogFile(const std::string &msg)
+void PartyTab::saveToLogFile(const std::string &msg) const
{
if (chatLogger)
chatLogger->log("#Party", msg);
diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h
index 1988df4e8..0f6613094 100644
--- a/src/net/ea/gui/partytab.h
+++ b/src/net/ea/gui/partytab.h
@@ -48,7 +48,7 @@ class PartyTab : public ChatTab, public ConfigListener
int getType() const override A_WARN_UNUSED
{ return ChatTab::TAB_PARTY; }
- void saveToLogFile(const std::string &msg) override;
+ void saveToLogFile(const std::string &msg) const override;
void playNewMessageSound() const override;