From 6f5c0edd5a68c8a0783f260f9800415f7ebc8df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 19 Oct 2021 15:05:22 +0200 Subject: [PATCH] remove c++17 deprecation warning --- .../sibson_interpolation_vertex_with_info_2.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp b/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp index 8e74eab6aa1..ade979afc8e 100644 --- a/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp +++ b/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp @@ -50,8 +50,13 @@ struct Value_function template struct Gradient_function - : public std::iterator { + typedef void value_type; + typedef void Distance; + typedef void Pointer; + typedef void Reference; + typedef std::output_iterator_tag category; + typedef V argument_type; typedef std::pair result_type;