]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/misc.cc
Doc: LM - Document tweaking of StaffSymbol and LedgerLineSpanner
[lilypond.git] / lily / misc.cc
index 77fbb2137489cb55ed16fe04a205200958a7a381..b930fd521a50e4eb2c93d69736591cac7a7b402e 100644 (file)
@@ -22,9 +22,6 @@
 #include "offset.hh"
 #include "warn.hh"
 
-using std::string;
-using std::vector;
-
 /*
   Return the 2-log, rounded down
 */
@@ -67,7 +64,7 @@ peak_around (Real epsilon, Real threshold, Real x)
 {
   if (x < 0)
     return 1.0;
-  return std::max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0);
+  return max (- epsilon * (x - threshold) / ((x + epsilon) * threshold), 0.0);
 }
 
 /*