]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/prob.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / prob.cc
index 3f6ba2fef1b773a4e5b06ffa8987e798d6a916dc..d05a33e4f3aa60387ad40a612deaf01a6d952a54 100644 (file)
@@ -24,7 +24,7 @@
 #include "profile.hh"
 
 
-const char Prob::type_p_name_[] = "ly:prob?";
+const char * const Prob::type_p_name_ = "ly:prob?";
 
 SCM
 Prob::equal_p (SCM sa, SCM sb)
@@ -124,7 +124,7 @@ Prob::mark_smob () const
 }
 
 int
-Prob::print_smob (SCM port, scm_print_state *)
+Prob::print_smob (SCM port, scm_print_state *) const
 {
   scm_puts ("#<", port);
   scm_puts ("Prob: ", port);
@@ -192,5 +192,5 @@ Prob::name () const
   if (scm_is_symbol (nm))
     return ly_symbol2string (nm);
   else
-    return this->class_name ();
+    return class_name ();
 }