From ffb4966e7f058bca905e7a372db4b43f1f1ebda2 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Wed, 7 May 2003 01:03:32 +0000 Subject: [PATCH] *** empty log message *** --- .../STL_Extension/include/CGAL/Nested_iterator.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Packages/STL_Extension/include/CGAL/Nested_iterator.h b/Packages/STL_Extension/include/CGAL/Nested_iterator.h index e2ef069990c..59732d9f015 100644 --- a/Packages/STL_Extension/include/CGAL/Nested_iterator.h +++ b/Packages/STL_Extension/include/CGAL/Nested_iterator.h @@ -96,7 +96,6 @@ public: typedef typename Tr::Nested_iterator Iterator; protected: - typedef Nested_iterator Self; typedef CGALi:: FI_w_begin_end< Filter_iterator > > @@ -122,7 +121,7 @@ public: } } - Self& operator++() + Nested_iterator& operator++() { if ( nested_it_ != end( this->base() ) ) { ++nested_it_; @@ -136,14 +135,14 @@ public: return *this; } - Self operator++(int) + Nested_iterator operator++(int) { - Self tmp = *this; + Nested_iterator tmp = *this; ++(*this); return tmp; } - Self& operator--() + Nested_iterator& operator--() { if ( this->is_end() ) { Filter_base_iterator::operator--(); @@ -159,9 +158,9 @@ public: return *this; } - Self operator--(int) + Nested_iterator operator--(int) { - Self tmp = *this; + Nested_iterator tmp = *this; --(*this); return tmp; } @@ -177,7 +176,8 @@ public: return nested_it_.operator->(); } - friend bool operator== <>(const Self&, const Self&); + friend bool operator== <>(const Nested_iterator&, + const Nested_iterator&); protected: Iterator nested_it_;