diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-27 17:01:54 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-27 17:01:54 +0200 |
commit | 95100251a8146a7be956669e12b33dfffb1898ab (patch) | |
tree | c5370c83816ddc9969dff25bf49cf2fd520bad06 /spline/spline.cpp | |
parent | ed4e090433b0f6f21059e876a0ebb72c7757e3d8 (diff) |
spline: modernize
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r-- | spline/spline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index 69928834..2fb811d6 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -486,9 +486,8 @@ double spline::bucket_size_coefficient(const QList<QPointF>& points) const namespace spline_detail { -settings::settings(bundle b, const QString& axis_name, Axis idx): +settings::settings(bundle const& b, const QString& axis_name, Axis idx): b(b ? b : make_bundle("")), - points(b, "points", {}), opts(axis_name, idx) {} |