[EMAIL PROTECTED] writes:
> ARGH!
> 
> Translator_group:
>   class Translator_group : public virtual Translator {
> 
> 
> Translator:
>   Translator_group * daddy_trans_l_ ;
> 
> SCM
> Translator::internal_get_property (SCM sym) const
> {
>   return daddy_trans_l_->internal_get_property (sym);
> }
> 
> 
> 
> So if you cast a Translator_group to a Translator (which should be quite
> sane) and call internal_get_property then you get to the Parent's
> property instead of its own property. Is there a good reason for this?

no, I guess a "virtual" keyword got lost somewhere.


-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]    | http://www.cs.uu.nl/~hanwen/


_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to