summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline-widget/spline.hpp')
-rw-r--r--spline-widget/spline.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp
index d9635397..77b2bdf9 100644
--- a/spline-widget/spline.hpp
+++ b/spline-widget/spline.hpp
@@ -46,6 +46,7 @@ class OPENTRACK_SPLINE_EXPORT spline final
void update_interp_data();
float get_value_internal(int x);
void add_lone_point();
+ float get_value_no_save_internal(double x);
static bool sort_fn(const QPointF& one, const QPointF& two);
static QPointF ensure_in_bounds(const QList<QPointF>& points, double max_x, int i);
@@ -83,7 +84,7 @@ public:
spline(const spline&) = default;
float get_value(double x);
- float get_value_no_save(double x);
+ float get_value_no_save(double x) const;
DEFUN_WARN_UNUSED bool get_last_value(QPointF& point);
void remove_point(int i);
void clear();