summaryrefslogtreecommitdiff
path: root/src/gui/widgets/battletab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/battletab.cpp')
-rw-r--r--src/gui/widgets/battletab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/battletab.cpp b/src/gui/widgets/battletab.cpp
index 005cea05a..5cc770478 100644
--- a/src/gui/widgets/battletab.cpp
+++ b/src/gui/widgets/battletab.cpp
@@ -49,7 +49,7 @@ BattleTab::~BattleTab()
{
}
-void BattleTab::saveToLogFile(std::string &msg)
+void BattleTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log(std::string("#Battle"), std::string(msg));