From 304dc76a36882c39262280cec93025cbb2690d58 Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Tue, 16 Sep 2014 12:03:49 +0200 Subject: [PATCH] use a tag for Linf bisector constructions Instead of the type Has_bisector_constructions_type that relied on SFINAE for choosing bisectors, use Tag_has_bisector_constructions tag which is typedef'ed to be Tag_true for Linf traits. Signed-off-by: Panagiotis Cheilaris --- .../Segment_Delaunay_graph_Linf_2/Filtered_traits_base_2.h | 3 ++- .../include/CGAL/Segment_Delaunay_graph_Linf_2/Traits_base_2.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Filtered_traits_base_2.h b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Filtered_traits_base_2.h index a09bef92dd2..5e07fd5d136 100644 --- a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Filtered_traits_base_2.h +++ b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Filtered_traits_base_2.h @@ -203,7 +203,8 @@ public: // C2E, C2F, E2C, F2C> //Construct_sdg_bisector_2; - typedef char Has_bisector_constructions_type; + // Linf traits contain bisector constructions + typedef Tag_true Tag_has_bisector_constructions; template class Construct_sdg_bisector_2 diff --git a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Traits_base_2.h b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Traits_base_2.h index c533566a075..cbcd0f61c50 100644 --- a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Traits_base_2.h +++ b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Traits_base_2.h @@ -47,7 +47,8 @@ public: //CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_NS::Construct_sdg_bisector_2 //Construct_sdg_bisector_2; - typedef char Has_bisector_constructions_type; + // Linf traits contain bisector constructions + typedef Tag_true Tag_has_bisector_constructions; template class Construct_sdg_bisector_2