From fb8313a77d598276bcda1333e93e4e90c2f705d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 5 May 2022 18:50:46 +0200 Subject: [PATCH] fix deprecation warning --- .../include/CGAL/Shape_regularization/internal/Contour_base_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shape_regularization/include/CGAL/Shape_regularization/internal/Contour_base_2.h b/Shape_regularization/include/CGAL/Shape_regularization/internal/Contour_base_2.h index 2dd4e56fbbe..1f8a5b8aafd 100644 --- a/Shape_regularization/include/CGAL/Shape_regularization/internal/Contour_base_2.h +++ b/Shape_regularization/include/CGAL/Shape_regularization/internal/Contour_base_2.h @@ -752,7 +752,7 @@ namespace internal { const Line_2& line_2, Point_2& in_point) const { - typename std::result_of::type result + typename CGAL::cpp11::result_of::type result = CGAL::intersection(line_1, line_2); if (result) { if (const Line_2* line = boost::get(&*result)) {