diff --git a/Convex_hull_3/include/CGAL/Convex_hull_face_base_2.h b/Convex_hull_3/include/CGAL/Convex_hull_face_base_2.h index 7899a0da840..b0055b83f11 100644 --- a/Convex_hull_3/include/CGAL/Convex_hull_face_base_2.h +++ b/Convex_hull_3/include/CGAL/Convex_hull_face_base_2.h @@ -56,7 +56,7 @@ public: Vertex_handle v2, Face_handle n0, Face_handle n1, - Face_handle n2 ) + Face_handle n2) : Fb(v0, v1, v2, n0, n1, n2), _info(0) {} const int& info() const { return _info; } diff --git a/Convex_hull_3/include/CGAL/Convex_hull_vertex_base_2.h b/Convex_hull_3/include/CGAL/Convex_hull_vertex_base_2.h index cef5f5eeac8..6016d65c62b 100644 --- a/Convex_hull_3/include/CGAL/Convex_hull_vertex_base_2.h +++ b/Convex_hull_3/include/CGAL/Convex_hull_vertex_base_2.h @@ -19,6 +19,8 @@ #include #include +#include +#include #include @@ -38,6 +40,7 @@ public: private: int _info = 0; Point _p; + std::size_t time_stamp_ = std::size_t(-2); public: template < typename TDS2 > @@ -65,6 +68,18 @@ public: const int& info() const { return _info; } int& info() { return _info; } + + /// For the determinism of Compact_container iterators + ///@{ + typedef Tag_true Has_timestamp; + + std::size_t time_stamp() const { + return time_stamp_; + } + void set_time_stamp(const std::size_t& ts) { + time_stamp_ = ts; + } + ///@} }; template