From 2923ea4a2b3d9c9ec62bbc710e9393db9a7b0ccd Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Thu, 25 Mar 2021 10:34:21 +0100 Subject: [PATCH] Fix errors with iterator conversions --- HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h b/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h index fe62a26e2c0..0eb0856a890 100644 --- a/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h +++ b/HalfedgeDS/include/CGAL/HalfedgeDS_iterator.h @@ -213,7 +213,7 @@ public: // --------------------------------- Self& operator--() { - this->nt = (*this->nt).prev(); + this->nt = typename It::Iterator((*this->nt).prev()); return *this; } Self operator--(int) { @@ -279,7 +279,7 @@ public: // --------------------------------- Self& operator--() { - this->nt = (*this->nt).prev(); + this->nt = typename It::Iterator((*this->nt).prev()); return *this; } Self operator--(int) {