summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-28 00:58:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-28 23:40:11 +0300
commit99906c44cf9208dee4e808e03fddd1f209b6b7fc (patch)
tree8472ed92c0963938dee4290d25cd6c4ebf2e4d81 /src/gui/widgets
parentc430b75e370a21a17f80d4ba3acd84111828a462 (diff)
downloadmanaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.gz
manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.bz2
manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.xz
manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.zip
add const for methods return values.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.h2
1 files changed, 1 insertions, 1 deletions
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<std::string> &getRows() const A_WARN_UNUSED
+ const std::list<std::string> &getRows() const A_WARN_UNUSED
{ return mTextOutput->getRows(); }
bool hasRows() const A_WARN_UNUSED