]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/moment.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / moment.cc
index 6fbd55f498876c0a604deb1007efd673cc23cf4b..e654eb3536fcdd2ad36cff1a125d64ab6269fa3f 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "warn.hh"
 
+using std::string;
+
 Moment::Moment ()
 {
 }
@@ -48,7 +50,7 @@ const char Moment::type_p_name_[] = "ly:moment?";
 
 
 int
-Moment::print_smob (SCM port, scm_print_state *)
+Moment::print_smob (SCM port, scm_print_state *) const
 {
   scm_puts ("#<Mom ", port);
   string str = to_string ();