diff --git a/src/sfizz/MathHelpers.h b/src/sfizz/MathHelpers.h index d741312b..07229ca8 100644 --- a/src/sfizz/MathHelpers.h +++ b/src/sfizz/MathHelpers.h @@ -15,7 +15,6 @@ #include "Config.h" #include #include -#include #include template @@ -128,9 +127,9 @@ inline float midiNoteFrequency(const int noteNumber) template constexpr T clamp( T v, T lo, T hi ) { - v = std::min(v, hi); - v = std::max(v, lo); - return v; + v = std::min(v, hi); + v = std::max(v, lo); + return v; } template