After reading 23.3 on the c++-faq-lite, I will change LPE things to the "Public Overloaded Non-Virtuals Call Protected Non-Overloaded Virtuals idiom" :-)
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Niko Kiirala Sent: donderdag 8 november 2007 11:17 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Methods hiding others
Thu, 8 Nov 2007 10:46:21 +0100 J.B.C.Engelen@...1578... kirjoitti:
Anybody know what these warnings mean/are caused by?
The methods that are hidden are only called from one place in the code. LPESlant defines a new virtual doEffect that normally
would call
the first hidden method, that calls the 2nd hidden method etc. Perhaps that is what it means? (override doEffect1, so doEffect2 is never called for this class so hide it, which means
doEffect3 is never
called for this class so hide it, etc.)
There's a good explanation for this warning here: http://www.parashift.com/c++-faq-lite/strange-inheritance.html #faq-23.9
-- Niko Kiirala niko@...1267...
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel