From 8b474ddf59f5a9872969baafbd3cc0da86d8fd6a Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 20 May 2020 10:32:03 +0200 Subject: [PATCH] Re-add the use of Lazy objects in Compact_container --- STL_Extension/include/CGAL/Handle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/STL_Extension/include/CGAL/Handle.h b/STL_Extension/include/CGAL/Handle.h index af5297ae2e5..0d652ccb4cb 100644 --- a/STL_Extension/include/CGAL/Handle.h +++ b/STL_Extension/include/CGAL/Handle.h @@ -87,6 +87,8 @@ class Handle bool identical(const Handle& h) const noexcept { return PTR == h.PTR; } + void * for_compact_container() const { return PTR; } + void for_compact_container(void* p) { PTR = static_cast(p); } protected: Rep* PTR; };