X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffont-metric.cc;h=77f02df579c9beaedc747dcf7d565f4e00c1d5ed;hb=8cf69a467ad7650f5ca9da6fe2dfd4c7c088b239;hp=f18b2d7256ae2717928937c3bbe76cc41799d121;hpb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;p=lilypond.git diff --git a/lily/font-metric.cc b/lily/font-metric.cc index f18b2d7256..77f02df579 100644 --- a/lily/font-metric.cc +++ b/lily/font-metric.cc @@ -95,14 +95,14 @@ Font_metric::derived_mark () const } SCM -Font_metric::mark_smob () +Font_metric::mark_smob () const { derived_mark (); return description_; } 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;