From 4ad02e44686d955b32da8309a306cf789b00c1d2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 30 May 2018 07:22:23 +0200 Subject: spline: nix unused member variable --- spline/spline.cpp | 3 +-- spline/spline.hpp | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'spline') diff --git a/spline/spline.cpp b/spline/spline.cpp index fc77bf8b..e32cfd0c 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -27,8 +27,7 @@ using namespace spline_detail; -spline::spline(const QString& name, const QString& axis_name, Axis axis) : - axis(axis) +spline::spline(const QString& name, const QString& axis_name, Axis axis) { set_bundle(options::make_bundle(name), axis_name, axis); } diff --git a/spline/spline.hpp b/spline/spline.hpp index a3532855..300af92d 100644 --- a/spline/spline.hpp +++ b/spline/spline.hpp @@ -111,8 +111,6 @@ class OTR_SPLINE_EXPORT spline : public base_spline QPointF last_input_value; std::shared_ptr ctx { std::make_shared() }; - Axis axis = NonAxis; - bool activep = false; bool validp = false; -- cgit v1.2.3