always use `auto` for the traits functors

This commit is contained in:
Laurent Rineau 2025-04-28 16:43:06 +02:00
parent d3fe6989fa
commit 58bc7b1a76
2 changed files with 3 additions and 8 deletions

View File

@ -30,11 +30,6 @@ public:
*/
using Vector_3 = unspecified_type;
/*!
* A constructor object model of `ConstructVertex_3`
*/
using Construct_vertex_3 = unspecified_type;
/// @}
/// \name Operations
@ -94,7 +89,7 @@ public:
/*!
* returns a function object model of `ConstructVertex_3`
*/
Construct_vertex_3 construct_vertex_3_object();
unspecified_type construct_vertex_3_object();
/*!
* returns a predicate object model of `IsDegenerate_3`

View File

@ -131,8 +131,8 @@ does_first_triangle_intersect_second_triangle_interior(const typename K::Triangl
CGAL_kernel_precondition(!k.is_degenerate_3_object() (t1) );
CGAL_kernel_precondition(!k.is_degenerate_3_object() (t2) );
typename K::Construct_vertex_3 vertex_on = k.construct_vertex_3_object();
typename K::Orientation_3 orientation = k.orientation_3_object();
auto vertex_on = k.construct_vertex_3_object();
auto orientation = k.orientation_3_object();
const Point_3& p = vertex_on(t1,0);
const Point_3& q = vertex_on(t1,1);