]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-smob.cc
Issue 4131/3: Remove definitions of \partcombine*Once
[lilypond.git] / lily / input-smob.cc
index 605b790a686675875a13d2db0c72188e34fc3f2f..4a8f01648dd70c8a9a81da109dd5ad703a1c90a9 100644 (file)
@@ -21,6 +21,7 @@
 #include "source-file.hh"
 #include "std-string.hh"
 
+using std::string;
 
 /* Dummy input location for use if real one is missing.  */
 Input dummy_input_global;
@@ -28,7 +29,7 @@ Input dummy_input_global;
 const char Input::type_p_name_[] = "ly:input-location?";
 
 SCM
-Input::mark_smob ()
+Input::mark_smob () const
 {
   if (Source_file *sf = get_source_file ())
     return sf->self_scm ();
@@ -37,7 +38,7 @@ Input::mark_smob ()
 }
 
 int
-Input::print_smob (SCM port, scm_print_state *)
+Input::print_smob (SCM port, scm_print_state *) const
 {
   string str = "#<location " + location_string () + ">";
   scm_puts (str.c_str (), port);