From 8dc4880fba70fd110dbdacfb9b11e9a4fb4359ec Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 18 Feb 2003 15:54:21 +0000 Subject: [PATCH] Add some this->. However, the file is so broken that it will still not compile presently :-( git-svn-id: https://svn.dealii.org/trunk@7147 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix_ez.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.h b/deal.II/lac/include/lac/sparse_matrix_ez.h index 55733e022e..31e06c1c3f 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.h @@ -1063,13 +1063,13 @@ inline typename SparseMatrixEZ::const_iterator& SparseMatrixEZ::const_iterator::operator++ () { - Assert (a_row < matrix->m(), ExcIteratorPastEnd()); + Assert (this->a_row < this->matrix->m(), ExcIteratorPastEnd()); ++a_index; - if (a_index >= matrix->row_info[a_row].length) + if (this->a_index >= this->matrix->row_info[a_row].length) { - a_index = 0; - a_row++; + this->a_index = 0; + this->a_row++; } return *this; } @@ -1099,7 +1099,7 @@ bool SparseMatrixEZ::const_iterator::operator == ( const const_iterator& other) const { - return (row() == other->row() && index() == other->index()); + return (this->row() == other->row() && this->index() == other->index()); } @@ -1119,8 +1119,8 @@ bool SparseMatrixEZ::const_iterator::operator < ( const const_iterator& other) const { - return (row() < other->row() || - (row() == other->row() && index() < other->index())); + return (this->row() < other->row() || + (this->row() == other->row() && this->index() < other->index())); } -- 2.39.5