[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/konsole/konsole
From: Frerich Raabe <raabe () kde ! org>
Date: 2003-10-01 11:25:15
[Download RAW message or body]
Am Wednesday 01 October 2003 01:21 schrieb Dirk Mueller:
> On Tuesday 30 September 2003 23:53, Stephan Binner wrote:
> > + TEWidget* widget() { return te; }
>
> /me is surprised nobody from the const-police complained yet..
Probably because this is correct in terms of const-ness. The other alternative
would be "const TEWidget *widget() const;". If you make the method const,
make the pointee const, either both or none.
- Frerich
--
"If you fail to adjust your notion of fairness to the reality of the Universe,
you will probably not be happy." - Paratima, of http://free-dc.org fame
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic