mirror of https://github.com/CGAL/cgal
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
This commit is contained in:
parent
04b5104b5b
commit
4b632c29ff
|
|
@ -485,7 +485,7 @@ public:
|
|||
|
||||
|
||||
#ifndef CGAL_NO_DEPRECATED_CODE
|
||||
template<typename Function, typename Bounding_object, typename CGAL_NP_TEMPLATE_PARAMETERS>
|
||||
template<typename Function, typename Bounding_object>
|
||||
#if !defined(BOOST_MSVC)
|
||||
CGAL_DEPRECATED
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -102,8 +102,9 @@ Mesh_optimization_return_code exude_mesh_3(C3T3& c3t3,const CGAL_NP_CLASS& np =
|
|||
}
|
||||
|
||||
#ifndef CGAL_NO_DEPRECATED_CODE
|
||||
template<typename C3T3, typename CGAL_NP_TEMPLATE_PARAMETERS>
|
||||
Mesh_optimization_return_code exude_mesh_3(C3T3& c3t3, double time_limit = 0, double sliver_bound = 0)
|
||||
template<typename C3T3>
|
||||
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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue