From a61ac4664d55cddb18d2d861e76629bd07676129 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 22:44:39 +0300 Subject: Add some missing const. --- src/gui/widgets/tabs/chat/chattab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/chat/chattab.h') diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index 831c2a110..dc2062946 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -142,7 +142,7 @@ class ChatTab notfinal : public Tab ChatTabType::Type getType() const A_WARN_UNUSED { return mType; } - void saveToLogFile(std::string msg) const; + void saveToLogFile(const std::string &msg) const; const std::list &getRows() const A_WARN_UNUSED { return mTextOutput->getRows(); } -- cgit v1.2.3-70-g09d2