]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/polynomial.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / flower / polynomial.cc
index a3f679cd60eff87dea049c17472f981066e8652c..ad218b29bb8f8868592b52c235d919eb20633cc3 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <cmath>
 
-using namespace std;
 using std::vector;
 
 /*
@@ -83,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];
 }