mirror of https://github.com/CGAL/cgal
always use `auto` for the traits functors
This commit is contained in:
parent
d3fe6989fa
commit
58bc7b1a76
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue