From e18fa44fd9dd812b564dec24aa32a9c6fad7e58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 19 Sep 2022 06:47:30 +0200 Subject: [PATCH] more deprecated functions --- Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h b/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h index 53e02a2ed9e..e7e897c777b 100644 --- a/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h +++ b/Mesh_2/include/CGAL/lloyd_optimize_mesh_2.h @@ -165,6 +165,7 @@ lloyd_optimize_mesh_2(CDT& cdt, const CGAL_NP_CLASS& np = parameters::default_va } } +#ifndef CGAL_NO_DEPRECATED_CODE #ifndef DOXYGEN_RUNNING template Mesh_optimization_return_code @@ -183,6 +184,7 @@ lloyd_optimize_mesh_2(CDT& cdt, const CGAL_NP_CLASS& np = parameters::default_va * (and any other type could). */ template + CGAL_DEPRECATED Mesh_optimization_return_code lloyd_optimize_mesh_2_impl(CDT& cdt, const int max_iterations, @@ -199,6 +201,7 @@ lloyd_optimize_mesh_2(CDT& cdt, const CGAL_NP_CLASS& np = parameters::default_va } template + CGAL_DEPRECATED Mesh_optimization_return_code lloyd_optimize_mesh_2_impl(CDT& cdt, const int max_iterations, @@ -242,7 +245,7 @@ lloyd_optimize_mesh_2(CDT& cdt, const CGAL_NP_CLASS& np = parameters::default_va return rc; } #endif // DOXYGEN_RUNNING - +#endif // CGAL_NO_DEPRECATED_CODE } //end namespace CGAL #endif