From 7b6886ed178736cce3aa2965a62677496a936706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 20 Dec 2024 16:16:26 +0100 Subject: [PATCH] Misc cleaning --- Filtered_kernel/include/CGAL/Lazy.h | 2 +- .../include/CGAL/Kernel_23/internal/Projection_traits_3.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Filtered_kernel/include/CGAL/Lazy.h b/Filtered_kernel/include/CGAL/Lazy.h index bff1ad6a64a..78a9742a96d 100644 --- a/Filtered_kernel/include/CGAL/Lazy.h +++ b/Filtered_kernel/include/CGAL/Lazy.h @@ -1057,7 +1057,7 @@ struct Lazy_construction_optional_for_polyhedral_envelope } }; - +// used in Newkernel_d template struct Lazy_construction_nt { Lazy_construction_nt(){} diff --git a/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_3.h b/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_3.h index ff2483b75b5..6339a1c1412 100644 --- a/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_3.h +++ b/Kernel_23/include/CGAL/Kernel_23/internal/Projection_traits_3.h @@ -90,9 +90,11 @@ template class Construct_bbox_projected_2 { public: typedef typename R::Point_3 Point; - typedef Bbox_2 result_type; - Bbox_2 operator()(const Point& p) const { typename R::Construct_bbox_3 bb; return Projector::bbox(bb(p)); } + Bbox_2 operator()(const Point& p) const { + typename R::Construct_bbox_3 bb; + return Projector::bbox(bb(p)); + } }; template @@ -315,6 +317,7 @@ public: typedef typename R::Segment_3 Segment_3; typedef typename R::Segment_2 Segment_2; typedef typename R::FT RT; + typename R::FT x(const Point_3 &p) const { return Projector::x(p); } typename R::FT y(const Point_3 &p) const { return Projector::y(p); }