From ae900ae297138732d0f965240ca9c7b129fa4936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 22 May 2017 09:43:36 +0200 Subject: [PATCH] force the usage of CGAL compare function this fixes an issue detected whenusing LEDA without GMP --- Kernel_23/include/CGAL/Kernel/function_objects.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Kernel_23/include/CGAL/Kernel/function_objects.h b/Kernel_23/include/CGAL/Kernel/function_objects.h index d1d300c52ae..45058fb1cfc 100644 --- a/Kernel_23/include/CGAL/Kernel/function_objects.h +++ b/Kernel_23/include/CGAL/Kernel/function_objects.h @@ -762,11 +762,11 @@ namespace CommonKernelFunctors { result_type operator()(const Point_3& p, const Point_3& q, const Point_3& r, const Point_3& s) const { - Comparison_result sign_pq = compare(q.z(),p.z()); - Comparison_result sign_rs = compare(s.z(),r.z()); + Comparison_result sign_pq = CGAL::compare(q.z(),p.z()); + Comparison_result sign_rs = CGAL::compare(s.z(),r.z()); if(sign_pq != sign_rs){ - return compare(static_cast(sign_pq), static_cast(sign_rs)); + return CGAL::compare(static_cast(sign_pq), static_cast(sign_rs)); } if((sign_pq == EQUAL) && (sign_rs == EQUAL)){