From 1d3c8bbbc9795f2456094547767a70c34cf01aaa Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 10 Jun 2020 22:33:26 +0200 Subject: [PATCH] Fix "error: use of overloaded operator '=='" ... for `Arrangement_on_surface_2`, Boolean_operations_2`, and `Minkowski_sum_2`. --- HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h b/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h index 437c1e4ad50..23d1a135eea 100644 --- a/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h +++ b/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h @@ -262,6 +262,8 @@ public: bool operator!=( std::nullptr_t p) const { return !(*this == p); } bool operator==( const Self& i) const { return It::operator==(i); } bool operator!=( const Self& i) const { return !(*this == i); } + bool operator==( const It& i) const { return It::operator==(i); } + bool operator!=( const It& i) const { return !(*this == i); } Self& operator++() { this->nt = (*this->nt).next();