]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/misc.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / misc.cc
index 7bb417bd6251ef2b5e7d34012ccfc2b4dd3c0d5b..77fbb2137489cb55ed16fe04a205200958a7a381 100644 (file)
@@ -67,7 +67,7 @@ peak_around (Real epsilon, Real threshold, Real x)
 {
   if (x < 0)
     return 1.0;
-  return max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0);
+  return std::max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0);
 }
 
 /*