diff --git a/src/sfizz/Curve.cpp b/src/sfizz/Curve.cpp index eaa22cdf..2e53bc4c 100644 --- a/src/sfizz/Curve.cpp +++ b/src/sfizz/Curve.cpp @@ -58,7 +58,7 @@ Curve Curve::buildCurveFromHeader( } Curve Curve::buildFromVelcurvePoints( - const std::vector>& points, + absl::Span> points, Interpolator itp, bool invert) { Curve curve; diff --git a/src/sfizz/Curve.h b/src/sfizz/Curve.h index d75e1a67..3cf4b2cb 100644 --- a/src/sfizz/Curve.h +++ b/src/sfizz/Curve.h @@ -75,7 +75,7 @@ public: * @param invert whether to invert the curve */ static Curve buildFromVelcurvePoints( - const std::vector>& points, + absl::Span> points, Interpolator itp = Interpolator::Linear, bool invert = false); /**