From 67a5a69e7f9a07ca8bf041d7deb6a1359a2b80c8 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 25 Aug 2022 10:29:04 +0200 Subject: [PATCH] Revert "temporarily replace explicit call to kernel" This reverts commit 43ef4e35ba0fdda55c8902da85b6519e450cf47f. --- Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h b/Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h index 8f71ba0f24a..819ff13f88b 100644 --- a/Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h +++ b/Mesh_3/include/CGAL/Mesh_domain_with_polyline_features_3.h @@ -443,8 +443,9 @@ private: const T1& obj1, const T2& obj2) const { - return CGAL::compare(CGAL::squared_distance(p, obj1), - CGAL::squared_distance(p, obj2)); + typename Kernel::Compare_distance_3 compare_distance = + Kernel().compare_distance_3_object(); + return compare_distance(p,obj1,obj2); } public: