]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch.cc
Add \override and \revert music functions usable from Scheme
[lilypond.git] / lily / pitch.cc
index 0fd75129476a7a1d889d751c504e290f22c30843..14151783725519e4c8170f4bb51e712ca78c648a 100644 (file)
@@ -252,8 +252,8 @@ MAKE_SCHEME_CALLBACK (Pitch, less_p, 2);
 SCM
 Pitch::less_p (SCM p1, SCM p2)
 {
-  Pitch *a = Pitch::unsmob (p1);
-  Pitch *b = Pitch::unsmob (p2);
+  Pitch *a = unsmob<Pitch> (p1);
+  Pitch *b = unsmob<Pitch> (p2);
 
   if (compare (*a, *b) < 0)
     return SCM_BOOL_T;