X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=src%2Fvoice.cc;h=2f2bbaec53b3d914c6057ff53be5e8a5bcebe1df;hb=6e632214ccd61a566fdaa42659bd63aff6b5d070;hp=8a1c136d04b32389fef812191696ca85a5c559d0;hpb=eb30c110377bd94cf7647e6105b39afe234ad8e2;p=lilypond.git diff --git a/src/voice.cc b/src/voice.cc index 8a1c136d04..2f2bbaec53 100644 --- a/src/voice.cc +++ b/src/voice.cc @@ -30,10 +30,10 @@ Voice::print() const #endif } -Real +Moment Voice::last() const { - Real l =start; + Moment l =start; for (PCursor vec(elts); vec.ok(); vec++) l += vec->duration; return l;