From 1842d57098f8312adab6ca32053c8f36fbe73db0 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 11 Jul 2017 13:30:39 +0200 Subject: [PATCH] Refresh with CGAL::Weighted_point_3 --- Surface_mesher/include/CGAL/Point_traits.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Surface_mesher/include/CGAL/Point_traits.h b/Surface_mesher/include/CGAL/Point_traits.h index 428ae0f2902..a84b11679d4 100644 --- a/Surface_mesher/include/CGAL/Point_traits.h +++ b/Surface_mesher/include/CGAL/Point_traits.h @@ -24,19 +24,17 @@ #include -#include -#include -#include +#include #include namespace CGAL { template - struct Is_weighted : public ::boost::mpl::false_ {} ; + struct Is_weighted : public Tag_false {} ; - template - struct Is_weighted< ::CGAL::Weighted_point > : - public ::boost::mpl::true_ {} ; + template + struct Is_weighted< ::CGAL::Weighted_point_3 > : + public Tag_true {} ; namespace details { @@ -51,7 +49,7 @@ namespace CGAL { { typedef P Point; typedef P Bare_point; - typedef typename ::CGAL::Weighted_point Weighted_point; + typedef typename ::CGAL::Weighted_point_3 Weighted_point; typedef Tag_false Is_weighted; const Bare_point& bare_point(const Point& bp)