From 81112471f75113e5718e9ceab4613c885abbe209 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 20:06:42 +0000 Subject: [PATCH] lilypond-0.1.48 --- lib/moment.cc | 7 ------- lily/chord-iterator.cc | 7 ++++--- lily/score.cc | 3 ++- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/lib/moment.cc b/lib/moment.cc index d521b233d3..ef1fa46def 100644 --- a/lib/moment.cc +++ b/lib/moment.cc @@ -10,10 +10,3 @@ #include "string.hh" #include "moment.hh" -void -printm (Moment const &m) -{ - cout << String (m) << flush; -} - - diff --git a/lily/chord-iterator.cc b/lily/chord-iterator.cc index 054990199f..a21a7862cc 100644 --- a/lily/chord-iterator.cc +++ b/lily/chord-iterator.cc @@ -74,10 +74,11 @@ IMPLEMENT_IS_TYPE_B1(Chord_iterator,Music_iterator); Moment Chord_iterator::next_moment() const { - Moment next_ = infinity_mom; + Moment next; + next.set_infinite (1); for (PCursor i (children_p_list_.top()); i.ok (); i++) - next_ = next_ next_moment() ; - return next_; + next = next next_moment() ; + return next; } diff --git a/lily/score.cc b/lily/score.cc index 5dac696086..8e88f8ad36 100644 --- a/lily/score.cc +++ b/lily/score.cc @@ -74,7 +74,8 @@ Score::run_translator (Music_output_def *odef_l) while (iter->ok() || trans_p->moments_left_i ()) { - Moment w = infinity_mom; + Moment w; + w.set_infinite (1); if (iter->ok()) { w = iter->next_moment(); -- 2.39.5