X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsequential-iterator.cc;h=6174c202f13ce37883218313f2bdf91a3d4167f1;hb=c98b4dc03abd0e96c0303f7e3b250c5f244a1208;hp=cf88a52d1dd1248b1e2d90b75da654b850f1a4a4;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/sequential-iterator.cc b/lily/sequential-iterator.cc index cf88a52d1d..6174c202f1 100644 --- a/lily/sequential-iterator.cc +++ b/lily/sequential-iterator.cc @@ -52,7 +52,6 @@ Sequential_iterator::do_quit () iter_->quit (); } - void Sequential_iterator::derived_mark () const { @@ -124,9 +123,7 @@ Sequential_iterator::construct_children () } while (iter_ && !iter_->ok ()) - { - next_element (true); - } + next_element (true); last_mom_ = Moment (-1); here_mom_ = get_music ()->start_mom (); @@ -233,9 +230,7 @@ Sequential_iterator::pending_moment () const Grace_fixup *gf = get_grace_fixup (); if (gf && gf->length_ + iter_->music_start_mom () == cp) - { - return here_mom_ + gf->length_ + Moment (0, gf->grace_start_); - } + return here_mom_ + gf->length_ + Moment (0, gf->grace_start_); /* Fix-up a grace note at the start of the music.