]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/polynomial.cc
input/regression/bookparts.ly fails at PDF conversion stage
[lilypond.git] / flower / polynomial.cc
index cefb8d1f9778d73ec9f2ef23ff8b0653b9b78b1a..ad218b29bb8f8868592b52c235d919eb20633cc3 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1993--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1993--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 
 #include <cmath>
 
-using namespace std;
+using std::vector;
 
 /*
   Een beter milieu begint bij uzelf. Hergebruik!
@@ -82,7 +82,7 @@ Polynomial::minmax (Real l, Real r, bool ret_max) const
   for (vsize i = 0; i < maxmins.size (); i++)
     if (maxmins[i] >= l && maxmins[i] <= r)
       sols.push_back (eval (maxmins[i]));
-  vector_sort (sols, less<Real> ());
+  vector_sort (sols, std::less<Real> ());
 
   return ret_max ? sols.back () : sols[0];
 }