diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2006-01-26 11:17:24 +0000 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2006-01-26 11:17:24 +0000 |
commit | b37e3f652677ae0298423db9fa0e552e5fce0c92 (patch) | |
tree | 086a0ce25c87a2a6ba3e9ffb7e4a5002264a6f29 /lily/moment.cc | |
parent | 32666ceb04d43968c3a17e6d50a25463dc8f7784 (diff) |
*** empty log message ***
Diffstat (limited to 'lily/moment.cc')
-rw-r--r-- | lily/moment.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 ("#<Mom ", port); - String str = r->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; |