]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/context-def.cc
Issue 5024: Rework the Preinit framework into something simpler
[lilypond.git] / lily / context-def.cc
index 62895966038f63ec9737f85ff1a9bb392382da00..402bd80b6e8baf329b52b07c16275751f8c0b95b 100644 (file)
@@ -82,10 +82,10 @@ Context_def::~Context_def ()
 {
 }
 
-const char Context_def::type_p_name_[] = "ly:context-def?";
+const char * const Context_def::type_p_name_ = "ly:context-def?";
 
 int
-Context_def::print_smob (SCM port, scm_print_state *)
+Context_def::print_smob (SCM port, scm_print_state *) const
 {
   scm_puts ("#<Context_def ", port);
   scm_display (context_name_, port);