summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spline-widget/spline.cpp')
-rw-r--r--spline-widget/spline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/spline-widget/spline.cpp b/spline-widget/spline.cpp
index a84f0d05..4f60181e 100644
--- a/spline-widget/spline.cpp
+++ b/spline-widget/spline.cpp
@@ -373,16 +373,16 @@ void spline::recompute()
}
// the return value is only safe to use with no spline::set_bundle calls
-spline::settings& spline::get_settings()
+mem<spline::settings> spline::get_settings()
{
QMutexLocker foo(&_mutex);
- return *s;
+ return s;
}
-const spline::settings& spline::get_settings() const
+mem<const spline::settings> spline::get_settings() const
{
QMutexLocker foo(&_mutex);
- return *s;
+ return s;
}
int spline::precision(const QList<QPointF>& points) const