mirror of https://github.com/CGAL/cgal
STL_extension: Fix #2587 concerning &* applied to a CGAL::internal::vector_iterator
This commit is contained in:
parent
a7a4966de8
commit
91e1cd7faa
|
|
@ -66,7 +66,7 @@ public:
|
|||
|
||||
// Allows construction of const_iterator from iterator
|
||||
template < class A, class B, class C>
|
||||
vector_iterator( const vector_iterator<A,B,C>& i) : ptr( &*i) {}
|
||||
vector_iterator( const vector_iterator<A,B,C>& i) : ptr(i.operator->()) {}
|
||||
|
||||
// OPERATIONS Forward Category
|
||||
// ---------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue