summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-08-27 17:01:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-08-27 17:01:54 +0200
commit95100251a8146a7be956669e12b33dfffb1898ab (patch)
treec5370c83816ddc9969dff25bf49cf2fd520bad06 /spline/spline.cpp
parented4e090433b0f6f21059e876a0ebb72c7757e3d8 (diff)
spline: modernize
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r--spline/spline.cpp3
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)
{}