From 383d93d10a23c0a3e7188ebb7b42e63e43db9747 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 18 Jan 2019 15:29:34 +0100 Subject: [PATCH] Fix Kernel_d --- Convex_hull_d/include/CGAL/Delaunay_d.h | 1 - Kernel_d/include/CGAL/Kernel_d/Direction_d.h | 2 +- Kernel_d/include/CGAL/Kernel_d/Hyperplane_d.h | 1 - Kernel_d/include/CGAL/Kernel_d/Ray_d.h | 1 - Kernel_d/include/CGAL/Kernel_d/Segment_d.h | 2 +- Kernel_d/include/CGAL/Kernel_d/Sphere_d.h | 2 -- 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Convex_hull_d/include/CGAL/Delaunay_d.h b/Convex_hull_d/include/CGAL/Delaunay_d.h index ce9fc44ca46..7260e223796 100644 --- a/Convex_hull_d/include/CGAL/Delaunay_d.h +++ b/Convex_hull_d/include/CGAL/Delaunay_d.h @@ -228,7 +228,6 @@ public: } } - Simplex_iterator(const Simplex_iterator& it) : Base_iterator(it) {} Simplex_iterator& operator++() /* here we get a new candidate from the stack diff --git a/Kernel_d/include/CGAL/Kernel_d/Direction_d.h b/Kernel_d/include/CGAL/Kernel_d/Direction_d.h index ddbd184a07f..e26dbbc51b9 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Direction_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Direction_d.h @@ -58,7 +58,7 @@ class Direction_d : public pR::Direction_d_base Direction_d (int d, InputIterator first, InputIterator last) : Base(d, first, last) {} - Direction_d(const Direction_d &d) : Base(d) {} + Direction_d(const Vector_d &v) : Base(v) {} Direction_d(int d, Base_direction, int i) : Base(d,Base_direction(),i) {} diff --git a/Kernel_d/include/CGAL/Kernel_d/Hyperplane_d.h b/Kernel_d/include/CGAL/Kernel_d/Hyperplane_d.h index 771f8f422f2..b185267fd5d 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Hyperplane_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Hyperplane_d.h @@ -59,7 +59,6 @@ public: Hyperplane_d(const Point_d& p, const Direction_d& dir) : Base(p,dir) {} - Hyperplane_d(const Hyperplane_d &h) : Base(h) {} Hyperplane_d(const Base& p) : Base(p) {} template diff --git a/Kernel_d/include/CGAL/Kernel_d/Ray_d.h b/Kernel_d/include/CGAL/Kernel_d/Ray_d.h index ccf3c32c1fb..44ea58b2d7b 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Ray_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Ray_d.h @@ -114,7 +114,6 @@ starting at |s.source()|. \precond $s$ is not trivial. }*/ "Ray_d::constructor: segment is trivial."); } -Ray_d(const Ray_d& r) : Base(r) {} /*{\Moperations 3 3}*/ diff --git a/Kernel_d/include/CGAL/Kernel_d/Segment_d.h b/Kernel_d/include/CGAL/Kernel_d/Segment_d.h index 0d7584046ee..13743b7ca95 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Segment_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Segment_d.h @@ -95,7 +95,7 @@ Segment_d(const Point_d& p, const Vector_d& v) is initialized to the segment |(p,p+v)|. }*/ : Base( Pair(p,p+v) ) {} -Segment_d(const Segment_d& s) : Base(s) {} + /*{\Moperations 3 3}*/ diff --git a/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h b/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h index 216e23ad821..58a02edceeb 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h @@ -136,8 +136,6 @@ initialized to the sphere through the points in |A = set [first,last)|. \precond $A$ consists of $d+1$ $d$-dimensional points.}*/ Base( Rep(d,first,last) ) {} -Sphere_d(const Self& c) : Base(c) {} -~Sphere_d() {} /*{\Moperations 4 3}*/