From 2b0c9fbece749e0c88c3bfebc4a9d3868c674cee Mon Sep 17 00:00:00 2001 From: tylermorganwall <297609+tylermorganwall@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:10:57 -0400 Subject: [PATCH] Fix clang/llvm 19 compilation issue in iterator.h Confirmed fix to compilation issue in clang//llvm 19 (/~https://github.com/CGAL/cgal/issues/8313) --- BGL/include/CGAL/boost/graph/iterator.h | 15 --------------- 1 file changed, 15 deletions(-) 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);