From 06288f3f0493b8f2e5cd26ef329b4b22c2b666d5 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 5 Jan 2024 16:38:53 +0100 Subject: [PATCH] improve the code reproducibility --- STL_Extension/include/CGAL/Base_with_time_stamp.h | 4 +++- Triangulation_3/test/Triangulation_3/cdt_3_from_off.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/STL_Extension/include/CGAL/Base_with_time_stamp.h b/STL_Extension/include/CGAL/Base_with_time_stamp.h index cbed66de81f..0ef77b262be 100644 --- a/STL_Extension/include/CGAL/Base_with_time_stamp.h +++ b/STL_Extension/include/CGAL/Base_with_time_stamp.h @@ -20,7 +20,9 @@ template class Base_with_time_stamp : public Base { std::size_t time_stamp_ = -1; public: - typedef CGAL::Tag_true Has_timestamp; + using Base::Base; + + using Has_timestamp = CGAL::Tag_true; std::size_t time_stamp() const { return time_stamp_; diff --git a/Triangulation_3/test/Triangulation_3/cdt_3_from_off.cpp b/Triangulation_3/test/Triangulation_3/cdt_3_from_off.cpp index f6a5435ec8e..61c2b2a3380 100644 --- a/Triangulation_3/test/Triangulation_3/cdt_3_from_off.cpp +++ b/Triangulation_3/test/Triangulation_3/cdt_3_from_off.cpp @@ -45,7 +45,7 @@ using K = CGAL::Exact_predicates_inexact_constructions_kernel; #endif // use Epick using Vb = CGAL::Base_with_time_stamp>; -using Cb = CGAL::Constrained_Delaunay_triangulation_cell_base_3; +using Cb = CGAL::Base_with_time_stamp>; using Tds = CGAL::Triangulation_data_structure_3; using Delaunay = CGAL::Delaunay_triangulation_3; using CDT = CGAL::Constrained_Delaunay_triangulation_3;