X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmoment.cc;h=81ab30e3aebebfe5bde60d265e31f94d257efdf7;hb=ed3e5abd8003297e02e3f90dc8755e33a6619135;hp=9f3e8ed383837e3fb7059eebff437cac5423588a;hpb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;p=lilypond.git diff --git a/lily/moment.cc b/lily/moment.cc index 9f3e8ed383..81ab30e3ae 100644 --- a/lily/moment.cc +++ b/lily/moment.cc @@ -48,7 +48,7 @@ const char Moment::type_p_name_[] = "ly:moment?"; int -Moment::print_smob (SCM port, scm_print_state *) +Moment::print_smob (SCM port, scm_print_state *) const { scm_puts ("# (a); + Moment *m2 = unsmob (b); return (*m1 == *m2) ? SCM_BOOL_T : SCM_BOOL_F; } @@ -186,7 +186,7 @@ operator << (ostream &os, Moment const &m) Moment robust_scm2moment (SCM m, Moment d) { - Moment *p = Moment::unsmob (m); + Moment *p = unsmob (m); if (!p) return d; else @@ -196,5 +196,5 @@ robust_scm2moment (SCM m, Moment d) bool moment_less (SCM a, SCM b) { - return *Moment::unsmob (a) < *Moment::unsmob (b); + return *unsmob (a) < *unsmob (b); }