diff options
Diffstat (limited to 'spline')
-rw-r--r-- | spline/spline.cpp | 2 | ||||
-rw-r--r-- | spline/spline.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp index 3ec3b5dc..98a82711 100644 --- a/spline/spline.cpp +++ b/spline/spline.cpp @@ -37,7 +37,7 @@ spline::~spline() spline::spline() : spline(QString{}, QString{}, Axis(-1)) {} -void spline::set_tracking_active(bool value) +void spline::set_tracking_active(bool value) const { std::shared_ptr<settings> S; { diff --git a/spline/spline.hpp b/spline/spline.hpp index a78db8dd..85f1c969 100644 --- a/spline/spline.hpp +++ b/spline/spline.hpp @@ -54,7 +54,7 @@ struct OTR_SPLINE_EXPORT base_spline_ virtual double get_value_no_save(double x) const = 0; [[nodiscard]] virtual bool get_last_value(QPointF& point) = 0; - virtual void set_tracking_active(bool value) = 0; + virtual void set_tracking_active(bool value) const = 0; virtual double max_input() const = 0; virtual double max_output() const = 0; @@ -146,7 +146,7 @@ public: const points_t& get_points() const override; - void set_tracking_active(bool value) override; + void set_tracking_active(bool value) const override; bundle get_bundle(); void ensure_valid(points_t& in_out) const; |