From 531884edfbdbf6ee0086feb01829b7464db947a8 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 22 Sep 2010 16:05:43 +0000 Subject: [PATCH] Add a fwd-declaration of orientationC2 (for clang) --- Cartesian_kernel/include/CGAL/predicates/kernel_ftC2.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cartesian_kernel/include/CGAL/predicates/kernel_ftC2.h b/Cartesian_kernel/include/CGAL/predicates/kernel_ftC2.h index 9042ecb169e..b818a745c92 100644 --- a/Cartesian_kernel/include/CGAL/predicates/kernel_ftC2.h +++ b/Cartesian_kernel/include/CGAL/predicates/kernel_ftC2.h @@ -186,6 +186,14 @@ compare_y_at_xC2(const FT &l1a, const FT &l1b, const FT &l1c, h1a*num+h1c*den, h1b); } +// forward-declaration of orientationC2, used in compare_y_at_xC2 +template < class FT > +inline +typename Same_uncertainty_nt::type +orientationC2(const FT &px, const FT &py, + const FT &qx, const FT &qy, + const FT &rx, const FT &ry); + template < class FT > CGAL_KERNEL_LARGE_INLINE typename Compare::result_type