From 2e0bc5ec996531d83b865a4633b62d18207c10c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 22 Dec 2022 11:02:27 +0100 Subject: [PATCH] Revert "Prevent_deref shall not return a reference to the iterator as it can be copied" it seems to have dramatic consequences on the runtime when using Polyhedron in test_pmp_clip for example. This reverts commit 7c4123152b61c97613332973dc199644a4e625ab. --- STL_Extension/include/CGAL/iterator.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/STL_Extension/include/CGAL/iterator.h b/STL_Extension/include/CGAL/iterator.h index acc6b5101a6..e395ab3c76f 100644 --- a/STL_Extension/include/CGAL/iterator.h +++ b/STL_Extension/include/CGAL/iterator.h @@ -43,8 +43,6 @@ class Prevent_deref Prevent_deref , I // base , I // value - , boost::use_default - , I > { public: @@ -52,8 +50,6 @@ public: Prevent_deref , I // base , I // value - , boost::use_default - , I > Base; typedef typename Base::reference reference; typedef typename std::pair range;