]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/cluster-engraver.cc
smobs.hh: mention that GUILE 1 gives callable structs at most 3 args
[lilypond.git] / lily / cluster-engraver.cc
index 462a1d21fe752fd827cb3bc520cc5de8e3beb7ae..8af3137f90e9c21f5db4f3f9839afac418d0c767 100644 (file)
@@ -101,7 +101,7 @@ Cluster_spanner_engraver::process_music ()
 
       for (vsize i = 0; i < cluster_notes_.size (); i++)
         {
-          Pitch *pit = Pitch::unsmob (cluster_notes_[i]->get_property ("pitch"));
+          Pitch *pit = unsmob<Pitch> (cluster_notes_[i]->get_property ("pitch"));
 
           int p = (pit ? pit->steps () : 0) + c0;