From ac6bebdb1a923554c5f5abd0ee4dfda59a6ae6d1 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 3 Dec 2024 09:22:58 +0000 Subject: [PATCH] cleanup --- .../Periodic_3_triangulation_filtered_traits_3.h | 10 +++++----- .../Robust_periodic_weighted_circumcenter_traits_3.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Periodic_3_triangulation_filtered_traits_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Periodic_3_triangulation_filtered_traits_3.h index dce0ddf2d9c6..88f71afc379b 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Periodic_3_triangulation_filtered_traits_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Periodic_3_triangulation_filtered_traits_3.h @@ -81,7 +81,9 @@ class Periodic_3_triangulation_filtered_traits_base_3 typedef typename Kernel::Iso_cuboid_3 Iso_cuboid_3; virtual ~Periodic_3_triangulation_filtered_traits_base_3() { } + Periodic_3_triangulation_filtered_traits_base_3(const& Periodic_3_triangulation_filtered_traits_base_3) = delete; + Periodic_3_triangulation_filtered_traits_base_3(const Iso_cuboid_3& domain, const Kernel& k) : @@ -166,7 +168,9 @@ class Periodic_3_triangulation_filtered_traits_3 typedef typename Kernel::Iso_cuboid_3 Iso_cuboid_3; Periodic_3_triangulation_filtered_traits_3& operator=(const Periodic_3_triangulation_filtered_traits_3&) = delete; + Periodic_3_triangulation_filtered_traits_3(const& Periodic_3_triangulation_filtered_traits_3) = delete; + Periodic_3_triangulation_filtered_traits_3(const Iso_cuboid_3& domain, const Kernel& k) : Base(domain, k) @@ -183,11 +187,7 @@ class Periodic_3_triangulation_filtered_traits_3 typedef K_ Kernel; typedef typename Kernel::Iso_cuboid_3 Iso_cuboid_3; - Periodic_3_triangulation_filtered_traits_3& operator=(const Periodic_3_triangulation_filtered_traits_3& other) - { static_cast(*this) = other; - std::cout << "here" << std::endl; - return *this; } - Periodic_3_triangulation_filtered_traits_3(const& Periodic_3_triangulation_filtered_traits_3) = delete; + Periodic_3_triangulation_filtered_traits_3(const Iso_cuboid_3& domain, const Kernel& k) : Base(domain, k) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Robust_periodic_weighted_circumcenter_traits_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Robust_periodic_weighted_circumcenter_traits_3.h index f1ef12f5517b..5fad52049f21 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Robust_periodic_weighted_circumcenter_traits_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3/internal/Robust_periodic_weighted_circumcenter_traits_3.h @@ -279,7 +279,7 @@ class Robust_periodic_weighted_circumcenter_traits_3 { return Construct_weighted_circumcenter_3(static_cast(*this)); } Robust_periodic_weighted_circumcenter_traits_3(const Iso_cuboid_3& domain = Iso_cuboid_3(0,0,0,1,1,1), - const Base_traits& t = Base_traits() ) // AF + const Base_traits& t = Base_traits() ) : Base_traits(domain, t) { } };