Skip to content

Commit

Permalink
Fix clang/llvm 19 compilation issue in iterator.h
Browse files Browse the repository at this point in the history
Confirmed fix to compilation issue in clang//llvm 19 (CGAL#8313)
  • Loading branch information
tylermorganwall authored and lrineau committed Jul 16, 2024
1 parent dfa981a commit 2b0c9fb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions BGL/include/CGAL/boost/graph/iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2b0c9fb

Please sign in to comment.