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 7c4123152b.
This commit is contained in:
Sébastien Loriot 2022-12-22 11:02:27 +01:00
parent adc42a5363
commit 2e0bc5ec99
1 changed files with 0 additions and 4 deletions

View File

@ -43,8 +43,6 @@ class Prevent_deref
Prevent_deref<I>
, I // base
, I // value
, boost::use_default
, I
>
{
public:
@ -52,8 +50,6 @@ public:
Prevent_deref<I>
, I // base
, I // value
, boost::use_default
, I
> Base;
typedef typename Base::reference reference;
typedef typename std::pair<I, I> range;