X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=ee03ac44d8db2e53a782e0732acb766e23b6914a;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=77726515254e4039794d8291f39510f1285fa58c;hpb=1b5f1825a6655583a6209fedd51b98f4865bb2cd;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index 7772651525..ee03ac44d8 100644 --- a/lily/pitch.cc +++ b/lily/pitch.cc @@ -218,7 +218,7 @@ 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 () const @@ -227,7 +227,7 @@ Pitch::mark_smob () const } int -Pitch::print_smob (SCM port, scm_print_state *) +Pitch::print_smob (SCM port, scm_print_state *) const { scm_puts ("# (a); + Pitch *q = unsmob (b); bool eq = p->notename_ == q->notename_ && p->octave_ == q->octave_