From c445468c4f491a9f3a20d73cf25f6aa146246212 Mon Sep 17 00:00:00 2001
From: JasonChmn <jason.chemin@hotmail.fr>
Date: Thu, 2 May 2019 10:37:52 +0200
Subject: [PATCH] Move some typename from template inside the class with
 typedef

---
 include/curves/cubic_hermite_spline.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/curves/cubic_hermite_spline.h b/include/curves/cubic_hermite_spline.h
index 4403f7b..c8f2b64 100644
--- a/include/curves/cubic_hermite_spline.h
+++ b/include/curves/cubic_hermite_spline.h
@@ -24,12 +24,12 @@ namespace curves
 ///
 template<typename Time= double, typename Numeric=Time, std::size_t Dim=3, bool Safe=false
 , typename Point= Eigen::Matrix<Numeric, Dim, 1>
-, typename Tangent= Eigen::Matrix<Numeric, Dim, 1>
-, typename Pair_point_tangent= std::pair<Point, Tangent>
-, typename Vector_pair= std::vector< Pair_point_tangent ,Eigen::aligned_allocator<Point> > 
 >
 struct cubic_hermite_spline : public curve_abc<Time, Numeric, Dim, Safe, Point>
 {
+    typedef Point Tangent;
+    typedef std::pair<Point, Tangent> Pair_point_tangent;
+    typedef std::vector< Pair_point_tangent ,Eigen::aligned_allocator<Point> > Vector_pair;
     typedef int Index;
     typedef std::vector<Time> Vector_time;
 
-- 
GitLab