summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-06 13:23:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-10 11:19:22 +0200
commit03c5a15199b34b564314ac222d51ab687fc97a93 (patch)
treec130aa8785dc273090dbe0f3fa04e5055d851483 /spline/spline.hpp
parent632cd5bf7778cb9062633f8d27ecd6aadcaa5d28 (diff)
get rid of the silly mem -> shared_ptr alias
Diffstat (limited to 'spline/spline.hpp')
-rw-r--r--spline/spline.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/spline/spline.hpp b/spline/spline.hpp
index 146837c8..acb1861a 100644
--- a/spline/spline.hpp
+++ b/spline/spline.hpp
@@ -52,7 +52,7 @@ class OTR_SPLINE_EXPORT spline final
static QPointF ensure_in_bounds(const QList<QPointF>& points, double max_x, int i);
static int element_count(const QList<QPointF>& points, double max_x);
- mem<spline_detail::settings> s;
+ std::shared_ptr<spline_detail::settings> s;
QMetaObject::Connection connection;
std::vector<float> data;
@@ -99,8 +99,8 @@ public:
bundle get_bundle();
void recompute();
- mem<settings> get_settings();
- mem<const settings> get_settings() const;
+ std::shared_ptr<settings> get_settings();
+ std::shared_ptr<const settings> get_settings() const;
using points_t = decltype(s->points());
int get_point_count() const;