mirror of https://github.com/CGAL/cgal
make sure the iterator is bidirectional
(even if it's not strictly conforming to the C++ standard)
This commit is contained in:
parent
b86667726c
commit
04a9026d37
|
|
@ -43,7 +43,7 @@ class Prevent_deref
|
|||
Prevent_deref<I,Value_type>
|
||||
, I // base
|
||||
, Value_type // value
|
||||
, boost::use_default
|
||||
, typename std::iterator_traits<I>::iterator_category
|
||||
, Value_type // ref
|
||||
>
|
||||
{
|
||||
|
|
@ -52,7 +52,7 @@ public:
|
|||
Prevent_deref<I,Value_type>
|
||||
, I // base
|
||||
, Value_type // value
|
||||
, boost::use_default
|
||||
, typename std::iterator_traits<I>::iterator_category
|
||||
, Value_type // ref
|
||||
> Base;
|
||||
typedef typename Base::reference reference;
|
||||
|
|
|
|||
Loading…
Reference in New Issue