X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fbar-check-iterator.cc;h=d86cfa6bdfbf20a7a4c0b544c7d53de5800262ab;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=2a3efe757c74fee0746b691a595f366e24e19d87;hpb=d2762a4f1add2bb04d6fc34d3c7ae03eeb7d500f;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);