diff --git a/BGL/include/CGAL/boost/graph/iterator.h b/BGL/include/CGAL/boost/graph/iterator.h index 87ff3383f21..177e409f11c 100644 --- a/BGL/include/CGAL/boost/graph/iterator.h +++ b/BGL/include/CGAL/boost/graph/iterator.h @@ -214,11 +214,6 @@ class Halfedge_around_source_iterator { #ifndef DOXYGEN_RUNNING - explicit operator bool() const - { - return (! (this->base() == nullptr)); - } - bool operator==( const Self& i) const { CGAL_assertion( anchor == anchor); return ( g == i.g) && ( pos == i.pos) && ( winding == i.winding); @@ -308,11 +303,6 @@ class Halfedge_around_target_iterator { #ifndef DOXYGEN_RUNNING - explicit operator bool() const - { - return (! (this->base() == nullptr)); - } - bool operator==( const Self& i) const { CGAL_assertion( anchor == anchor); return ( g == i.g) && ( pos == i.pos) && ( winding == i.winding); @@ -400,11 +390,6 @@ class Halfedge_around_face_iterator { pointer operator -> ( ) { return &pos; } const value_type* operator -> ( ) const { return &pos; } - explicit operator bool() const - { - return (! (this->base() == nullptr)); - } - bool operator==( const Self& i) const { CGAL_assertion( anchor == anchor); return ( g == i.g) && ( pos == i.pos) && ( winding == i.winding);