summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-06-20 18:45:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-06-20 18:47:20 +0200
commitc1be0706d4872f31bcc09c0963c7602ac19f8c76 (patch)
treef66a4c525eb522447d543429a5c026c9325d9b1f /spline/spline.hpp
parent74ce228b1e3e756174c2e75579bfe500701ee570 (diff)
logic/work: const correctness
Diffstat (limited to 'spline/spline.hpp')
-rw-r--r--spline/spline.hpp4
1 files changed, 2 insertions, 2 deletions
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;