lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make web fails


From: Erik Sandberg
Subject: Re: make web fails
Date: Tue, 6 Jun 2006 13:31:39 +0200
User-agent: KMail/1.9.1

On Monday 05 June 2006 00:33, Han-Wen Nienhuys wrote:
> Erik Sandberg schreef:
> > On Sunday 04 June 2006 17:40, Han-Wen Nienhuys wrote:
> >> Erik Sandberg schreef:
> >>> On Saturday 03 June 2006 14:39, Han-Wen Nienhuys wrote:
> >>>> Erik Sandberg schreef:
> >>
> >> I don't understand why you have to do the non-const initializations in
> >> get_music_list(). Isn'tthere a way to do that in construct_children, and
> >> leave the constness?
> >
> > It's just so that start/stop events only need to be created once (look at
> > the initialisations of start_ and stop_). If you like, I can remove those
> > members and use methods create_stop_event and create_start_event instead
> > (still avoids code duplication, but is slightly less efficient).
>
> construct_children is also only called once. You can init start_ and
> stop_ from there, and use those members in the get_music_list() function.

true (it just wasn't that apparent to me, because get_music_list is called 
_from_ construct children, and I forgot that Virtual Functions Are My 
Friends)

-- 
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]