From 99906c44cf9208dee4e808e03fddd1f209b6b7fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Sep 2013 00:58:25 +0300 Subject: add const for methods return values. --- src/gui/widgets/chattab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/chattab.h') diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index 55d8f7769..c2ac5a45b 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -143,7 +143,7 @@ class ChatTab : public Tab virtual void saveToLogFile(const std::string &msg) const; - std::list &getRows() const A_WARN_UNUSED + const std::list &getRows() const A_WARN_UNUSED { return mTextOutput->getRows(); } bool hasRows() const A_WARN_UNUSED -- cgit v1.2.3-60-g2f50