[haiku-development] Re: StyledEdit

  • From: "HOST Computing" <HOST.HAIKU@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 04 Sep 2007 12:40:56 +0200

Hi,

> "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.
> 
i agree on that, even if it does not harm either. so i will add them back where 
needed. :)

Regards,
Julun

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Other related posts: