]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam-collision-engraver.cc
Issue 4365: non-member unsmob<T> replaces T::unsmob and T::is_smob
[lilypond.git] / lily / beam-collision-engraver.cc
index 01dbbf9e5ecb8a58cbed20e5cde106d32a9e0361..bb8e42e1cf19d9c95f75f1336bd95bcb7156e8b9 100644 (file)
@@ -121,11 +121,11 @@ Beam_collision_engraver::finalize ()
             {
               // Do not consider note heads attached to the beam.
               if (Stem::has_interface (covered_grob))
-                if (Grob::is_smob (covered_grob->get_object ("beam")))
+                if (unsmob<Grob> (covered_grob->get_object ("beam")))
                   continue;
 
-              if (Grob *stem = Grob::unsmob (covered_grob->get_object ("stem")))
-                if (Grob *beam = Grob::unsmob (stem->get_object ("beam")))
+              if (Grob *stem = unsmob<Grob> (covered_grob->get_object ("stem")))
+                if (Grob *beam = unsmob<Grob> (stem->get_object ("beam")))
                   if (beam == beam_grob)
                     continue;