X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fbar-check-iterator.cc;h=d86cfa6bdfbf20a7a4c0b544c7d53de5800262ab;hb=c40332b19b2224385f4221ede8fc29e57bbc3b01;hp=2a3efe757c74fee0746b691a595f366e24e19d87;hpb=c054eb280fd9953596eb164f67b0f9d5555c5a32;p=lilypond.git diff --git a/lily/bar-check-iterator.cc b/lily/bar-check-iterator.cc index 2a3efe757c..d86cfa6bdf 100644 --- a/lily/bar-check-iterator.cc +++ b/lily/bar-check-iterator.cc @@ -56,7 +56,7 @@ Bar_check_iterator::process (Moment m) SCM mp = tr->get_property ("measurePosition"); SCM sync = tr->get_property ("barCheckSynchronize"); - Moment *where = Moment::unsmob (mp); + Moment *where = unsmob (mp); if (!where) return; @@ -73,8 +73,8 @@ Bar_check_iterator::process (Moment m) else { SCM lf = tr->get_property ("barCheckLastFail"); - if (Moment::is_smob (lf) - && *Moment::unsmob (lf) == *where) + if (unsmob (lf) + && *unsmob (lf) == *where) warn = false; else tr->set_property ("barCheckLastFail", mp);