From 4b632c29ff61083fdbba2a112522ed41266ea4fe Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 30 Mar 2023 10:40:28 +0200 Subject: [PATCH] remove NP template parameter where it's not necessary * add CGAL_DEPRECATED * fix ambiguity between exude_mesh_3(c3t3) (one param) versions by removing default time_limit --- Mesh_3/include/CGAL/Labeled_mesh_domain_3.h | 2 +- Mesh_3/include/CGAL/exude_mesh_3.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h b/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h index c995f28aeb7..ecc81e96046 100644 --- a/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h +++ b/Mesh_3/include/CGAL/Labeled_mesh_domain_3.h @@ -485,7 +485,7 @@ public: #ifndef CGAL_NO_DEPRECATED_CODE - template + template #if !defined(BOOST_MSVC) CGAL_DEPRECATED #endif diff --git a/Mesh_3/include/CGAL/exude_mesh_3.h b/Mesh_3/include/CGAL/exude_mesh_3.h index e5480aa1dee..0115095c824 100644 --- a/Mesh_3/include/CGAL/exude_mesh_3.h +++ b/Mesh_3/include/CGAL/exude_mesh_3.h @@ -102,8 +102,9 @@ Mesh_optimization_return_code exude_mesh_3(C3T3& c3t3,const CGAL_NP_CLASS& np = } #ifndef CGAL_NO_DEPRECATED_CODE -template -Mesh_optimization_return_code exude_mesh_3(C3T3& c3t3, double time_limit = 0, double sliver_bound = 0) +template +CGAL_DEPRECATED +Mesh_optimization_return_code exude_mesh_3(C3T3& c3t3, double time_limit, double sliver_bound = 0) { return exude_mesh_3(c3t3, CGAL::parameters::time_limit(time_limit).sliver_bound(sliver_bound)); }