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.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp
index 5d521a6c..0ffc4de9 100644
--- a/spline-widget/spline.hpp
+++ b/spline-widget/spline.hpp
@@ -40,7 +40,6 @@ signals:
class OPENTRACK_SPLINE_EXPORT spline final
{
-private:
int precision(const QList<QPointF>& points) const;
void update_interp_data();
float getValueInternal(int x);
@@ -104,8 +103,8 @@ public:
bundle get_bundle();
void recompute();
- settings& get_settings();
- const settings& get_settings() const;
+ mem<settings> get_settings();
+ mem<const settings> get_settings() const;
using points_t = decltype(s->points.get());
};