[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdenonbeta/kopete/plugins/history
From: Frerich Raabe <frerich.raabe () gmx ! de>
Date: 2003-07-01 6:02:26
[Download RAW message or body]
Am Monday 30 June 2003 23:51 schrieb Laurent Montel:
> Add const
> - HistoryLogger *logger() { return m_logger; }
> + HistoryLogger *logger() const { return m_logger; }
And I still do not think this is a good idea. Instead of changing that method,
please add an overload "const HistoryLogger *logger() const { return
m_logger; }"
Wasn't it you who recently explained to somebody that "FooClass foo() const;"
is ok but "FooClass &foo() const;" isn't? If so, I don't get why you don't
apply that to pointers as well.
- Frerich
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic