From 0fa9e17213f3ef2c624f183c4d627337ae2fa194 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Thu, 21 Dec 2017 11:16:46 +0100 Subject: [PATCH] Remove deprecated std::unary_function --- .../demo/Optimal_transportation_reconstruction_2/scene.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h index f1589998bb1..9ef6a8bf9c3 100644 --- a/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h +++ b/Optimal_transportation_reconstruction_2/demo/Optimal_transportation_reconstruction_2/scene.h @@ -24,6 +24,7 @@ #include #include #include +#include class GlViewer; @@ -81,7 +82,7 @@ public: private: - struct Point_3_from_sample : public std::unary_function + struct Point_3_from_sample : public CGAL::unary_function { typename K::Point_3 operator() (const Sample_& sample) const {