From a14eb45008af04bb262e80fd399d60394ae74e53 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 23 Jun 2018 03:05:07 +0200 Subject: spline: less deserialize points from qvariant --- migration/20171020_00-max-pitch-output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'migration') diff --git a/migration/20171020_00-max-pitch-output.cpp b/migration/20171020_00-max-pitch-output.cpp index 0699ac48..61df3967 100644 --- a/migration/20171020_00-max-pitch-output.cpp +++ b/migration/20171020_00-max-pitch-output.cpp @@ -49,7 +49,7 @@ struct max_pitch_output : migration spline& pitch_spline_2 = pitch_map.spline_alt; for (const spline& spl : { pitch_spline_1, pitch_spline_2 }) - for (QPointF& point : spl.get_points()) + for (const QPointF& point : spl.get_points()) if (point.y() - 1e-2 > 90) return true; -- cgit v1.2.3