]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/quote-iterator.cc
*** empty log message ***
[lilypond.git] / lily / quote-iterator.cc
index 44266a6bc469b703f2b206fd13e4d00547e20030..45e0f066a70d1dd8a1cc51e0aa81712a59f86aec 100644 (file)
@@ -18,7 +18,7 @@ class Quote_iterator : public Music_wrapper_iterator
 public:
   Quote_iterator ();
   Moment vector_moment (int idx) const;
-  Interpretation_context_handle quote_outlet_;
+  Context_handle quote_outlet_;
 
   Moment start_moment_;
   Moment stop_moment_;
@@ -159,14 +159,14 @@ Quote_iterator::pending_moment () const
   Moment m (infty);
 
   if (Music_wrapper_iterator::ok ())
-    m = m <? Music_wrapper_iterator::pending_moment ();
+    m = min (m, Music_wrapper_iterator::pending_moment ());
 
   /*
     In case event_idx_ < 0, we're not initted yet, and the wrapped
     music expression determines the starting moment.
   */
   if (quote_ok ())
-    m = m <? vector_moment (event_idx_) - start_moment_;
+    m = min (m, vector_moment (event_idx_) - start_moment_);
 
   return m;
 }