]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some this->
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Apr 2003 16:20:14 +0000 (16:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Apr 2003 16:20:14 +0000 (16:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@7492 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/filtered_iterator.h

index 1f155f46e51036b7ae2d7f1780b0e74ffc1d282f..9e3220e19c13c84da1008105029b7ab5dddc046f 100644 (file)
@@ -702,7 +702,7 @@ FilteredIterator (Predicate          p,
                BaseIterator (bi),
                predicate (new PredicateTemplate<Predicate>(p))
 {
-  Assert ((state() != IteratorState::valid) || (*predicate) (*this),
+  Assert ((this->state() != IteratorState::valid) || (*predicate) (*this),
          ExcInvalidElement(bi));
 }
 
@@ -765,7 +765,7 @@ FilteredIterator<BaseIterator>::
 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<BaseIterator>::
 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<BaseIterator> &
 FilteredIterator<BaseIterator>::
 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<BaseIterator> &
 FilteredIterator<BaseIterator>::
 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;
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.