From c8020eaa97e3af1c4a0177c5c12122ce21d99bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Mon, 15 May 2017 17:15:25 +0200 Subject: [PATCH] Removed broken trick Doesn't work anymore without implicit conversions between P and WP --- .../include/CGAL/Periodic_3_Delaunay_triangulation_3.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h index 5495ff77dba..3df397cdfa7 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h @@ -505,10 +505,7 @@ public: if (pbegin == points.end()) return number_of_vertices() - n; } - // Use Geom_traits::K for efficiency: spatial_sort creates a lot - // of copies of the traits but does not need the domain that is - // stored in it. - spatial_sort (pbegin, points.end(), typename Geom_traits::K()); + spatial_sort (pbegin, points.end(), this->geom_traits()); Conflict_tester tester(*pbegin,this); Point_hider hider;