|
[haiku-development]
||
[Date Prev]
[09-2007 Date Index]
[Date Next]
||
[Thread Prev]
[09-2007 Thread Index]
[Thread Next]
[haiku-development] Re: StyledEdit
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 04 Sep 2007 11:31:22 +0200 CEST
"Ryan Leavengood" <leavengood@xxxxxxxxx> wrote:
> Now regarding the removing of the virtual keyword on several
> overridden methods, I suppose this is fine since I doubt any of those
> classes will ever be subclassed themselves. I'm not sure it has any
> benefits though (I am no C++ expert though.)
Please don't do this. Carrying the virtual keyword into the subclasses
just makes it clear that it's in fact a virtual overridden method -
besides from the eventual warning in GCC 4 it does no good.
Bye,
Axel.
|