summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-30 07:22:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-30 07:26:21 +0200
commit4ad02e44686d955b32da8309a306cf789b00c1d2 (patch)
treebcdaa979948c8ee166f0a57dc36acfe7d5cad0a1
parent3a16e811376a467a447a9cde63e65c7f53b81a38 (diff)
spline: nix unused member variable
-rw-r--r--spline/spline.cpp3
-rw-r--r--spline/spline.hpp2
2 files changed, 1 insertions, 4 deletions
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<QObject> ctx { std::make_shared<QObject>() };
- Axis axis = NonAxis;
-
bool activep = false;
bool validp = false;