From 890659af4ea01fd558d5b10c601fc95701eff8e3 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 29 Apr 2003 16:20:14 +0000 Subject: [PATCH] Add some this-> git-svn-id: https://svn.dealii.org/trunk@7492 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/include/grid/filtered_iterator.h | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/deal.II/deal.II/include/grid/filtered_iterator.h b/deal.II/deal.II/include/grid/filtered_iterator.h index 1f155f46e5..9e3220e19c 100644 --- a/deal.II/deal.II/include/grid/filtered_iterator.h +++ b/deal.II/deal.II/include/grid/filtered_iterator.h @@ -702,7 +702,7 @@ FilteredIterator (Predicate p, BaseIterator (bi), predicate (new PredicateTemplate(p)) { - Assert ((state() != IteratorState::valid) || (*predicate) (*this), + Assert ((this->state() != IteratorState::valid) || (*predicate) (*this), ExcInvalidElement(bi)); } @@ -765,7 +765,7 @@ FilteredIterator:: set_to_next_positive (const BaseIterator &bi) { BaseIterator::operator = (bi); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && ( ! (*predicate)(*this))) BaseIterator::operator++ (); @@ -781,7 +781,7 @@ FilteredIterator:: set_to_previous_positive (const BaseIterator &bi) { BaseIterator::operator = (bi); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && ( ! predicate(*this))) BaseIterator::operator-- (); @@ -868,10 +868,10 @@ FilteredIterator & FilteredIterator:: operator ++ () { - if (state() == IteratorState::valid) + if (this->state() == IteratorState::valid) do BaseIterator::operator++ (); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && !(*predicate) (*this)); return *this; } @@ -886,10 +886,10 @@ operator ++ (int) { const FilteredIterator old_state = *this; - if (state() == IteratorState::valid) + if (this->state() == IteratorState::valid) do BaseIterator::operator++ (); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && !(*predicate) (*this)); return old_state; } @@ -903,10 +903,10 @@ FilteredIterator & FilteredIterator:: operator -- () { - if (state() == IteratorState::valid) + if (this->state() == IteratorState::valid) do BaseIterator::operator-- (); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && !(*predicate) (*this)); return *this; } @@ -921,10 +921,10 @@ operator -- (int) { const FilteredIterator old_state = *this; - if (state() == IteratorState::valid) + if (this->state() == IteratorState::valid) do BaseIterator::operator-- (); - while ((state() == IteratorState::valid) && + while ((this->state() == IteratorState::valid) && !(*predicate) (*this)); return old_state; } -- 2.39.5