]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch.cc
Issue 5097: reach HorizontalBracketText through directed tweak
[lilypond.git] / lily / pitch.cc
index 14151783725519e4c8170f4bb51e712ca78c648a..9e46bba70e6ff1d2360a66292427f312b4b5f5c8 100644 (file)
@@ -218,16 +218,16 @@ Pitch::down_to (int notename)
   notename_ = notename;
 }
 
-const char Pitch::type_p_name_[] = "ly:pitch?";
+const char * const Pitch::type_p_name_ = "ly:pitch?";
 
 SCM
-Pitch::mark_smob ()
+Pitch::mark_smob () const
 {
   return scale_->self_scm ();
 }
 
 int
-Pitch::print_smob (SCM port, scm_print_state *)
+Pitch::print_smob (SCM port, scm_print_state *) const
 {
   scm_puts ("#<Pitch ", port);
   scm_display (ly_string2scm (to_string ()), port);