X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffont-metric.cc;h=77f02df579c9beaedc747dcf7d565f4e00c1d5ed;hb=a6a51abfd0195a3cf7d6ea095cf69808852f21ce;hp=674aef76a9d6b0af07330eeb464461f5374e5e35;hpb=1b5f1825a6655583a6209fedd51b98f4865bb2cd;p=lilypond.git diff --git a/lily/font-metric.cc b/lily/font-metric.cc index 674aef76a9..77f02df579 100644 --- a/lily/font-metric.cc +++ b/lily/font-metric.cc @@ -102,7 +102,7 @@ Font_metric::mark_smob () const } int -Font_metric::print_smob (SCM port, scm_print_state *) +Font_metric::print_smob (SCM port, scm_print_state *) const { scm_puts ("#<", port); scm_puts (class_name (), port); @@ -112,7 +112,7 @@ Font_metric::print_smob (SCM port, scm_print_state *) return 1; } -const char Font_metric::type_p_name_[] = "ly:font-metric?"; +const char * const Font_metric::type_p_name_ = "ly:font-metric?"; SCM Font_metric::font_file_name () const @@ -147,7 +147,9 @@ Font_metric::sub_fonts () const Stencil Font_metric::text_stencil (Output_def *state, - const string&, bool) const + const string&, + bool, + const string&) const { (void) state;