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); }