]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tuplet-iterator.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / tuplet-iterator.cc
index c43e630c4384e51f4c0acf44a158918fb5467df8..ad0d3c7361ff842924084a96545c90e1e6ccf309 100644 (file)
@@ -92,7 +92,7 @@ Moment
 Tuplet_iterator::pending_moment () const
 {
   Moment next_mom = Music_wrapper_iterator::pending_moment ();
-  next_mom = min (next_mom, next_split_mom_);
+  next_mom = std::min (next_mom, next_split_mom_);
 
   return next_mom;
 }
@@ -110,7 +110,7 @@ Tuplet_iterator::process (Moment m)
       if (m.main_part_ < music_get_length ().main_part_)
         {
           spanner_duration_ =
-            min (music_get_length () - next_split_mom_, spanner_duration_);
+            std::min (music_get_length () - next_split_mom_, spanner_duration_);
           tuplet_handler_.set_context (get_outlet ());
           report_event (create_event (START));