From b37e3f652677ae0298423db9fa0e552e5fce0c92 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 26 Jan 2006 11:17:24 +0000 Subject: *** empty log message *** --- lily/moment.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lily/moment.cc') diff --git a/lily/moment.cc b/lily/moment.cc index f0d34b8bc1..1bab8f8fc5 100644 --- a/lily/moment.cc +++ b/lily/moment.cc @@ -49,7 +49,7 @@ Moment::print_smob (SCM s, SCM port, scm_print_state *) Moment *r = (Moment *) SCM_CELL_WORD_1 (s); scm_puts ("#to_string (); + std::string str = r->to_string (); scm_puts ((char *)str.c_str (), port); scm_puts (">", port); @@ -153,10 +153,10 @@ Moment::set_infinite (int k) main_part_.set_infinite (k); } -String +std::string Moment::to_string () const { - String s = main_part_.to_string (); + std::string s = main_part_.to_string (); if (grace_part_) s += "G" + grace_part_.to_string (); return s; -- cgit v1.2.3