Skip to content
Snippets Groups Projects
Commit 3f39af03 authored by Pierre Gergondet's avatar Pierre Gergondet
Browse files

Remove unary_function

std::unary_function is deprecated since C++11 and removed in C++17

See: https://en.cppreference.com/w/cpp/utility/functional/unary_function
parent 4ff694d0
No related branches found
No related tags found
No related merge requests found
Pipeline #19754 passed with warnings
......@@ -34,8 +34,7 @@ bool isApprox(const T a, const T b, const T eps = 1e-6) {
template <typename Time = double, typename Numeric = Time, bool Safe = false,
typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>,
typename Point_derivate = Point>
struct curve_abc : std::unary_function<Time, Point>,
public serialization::Serializable {
struct curve_abc : public serialization::Serializable {
typedef Point point_t;
typedef Point_derivate point_derivate_t;
typedef Time time_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment