]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/interval-set.cc
Doc-es: various updates.
[lilypond.git] / flower / interval-set.cc
index fca942b966b4cf4439cc57d11b6d9309457d00fd..da857f277c8e3e892effff8438351425138ed420 100644 (file)
@@ -19,8 +19,6 @@
 
 #include "interval-set.hh"
 
-using std::vector;
-
 /*
   A union of intervals in the real line.
 
@@ -58,7 +56,7 @@ Interval_set::interval_union (vector<Interval> ivs)
 
       if (last[RIGHT] >= iv[LEFT])
         // overlapping intervals: merge them
-        last[RIGHT] = std::max (last[RIGHT], iv[RIGHT]);
+        last[RIGHT] = max (last[RIGHT], iv[RIGHT]);
       else if (!iv.is_empty ())
         ret.intervals_.push_back (iv);
     }