From 14cb4854c14044a479a02b13b7595f13b5f118b7 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 15 Apr 2003 22:55:17 +0000 Subject: [PATCH] const-ify two parameters. git-svn-id: https://svn.dealii.org/trunk@7395 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 8 ++++---- deal.II/lac/include/lac/sparse_matrix_ez.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 8a7df79ae0..d5d6680460 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -864,12 +864,12 @@ class SparseMatrix : public Subscriptor * STL-like iterator with the * first entry of row @p{r}. */ - const_iterator begin (unsigned int r) const; + const_iterator begin (const unsigned int r) const; /** * Final iterator of row @p{r}. */ - const_iterator end (unsigned int r) const; + const_iterator end (const unsigned int r) const; /** * Print the matrix to the given @@ -1486,7 +1486,7 @@ SparseMatrix::end () const template inline typename SparseMatrix::const_iterator -SparseMatrix::begin (unsigned int r) const +SparseMatrix::begin (const unsigned int r) const { Assert (r::begin (unsigned int r) const template inline typename SparseMatrix::const_iterator -SparseMatrix::end (unsigned int r) const +SparseMatrix::end (const unsigned int r) const { Assert (r::end () const template inline typename SparseMatrixEZ::const_iterator -SparseMatrixEZ::begin (unsigned int r) const +SparseMatrixEZ::begin (const unsigned int r) const { Assert (r::begin (unsigned int r) const template inline typename SparseMatrixEZ::const_iterator -SparseMatrixEZ::end (unsigned int r) const +SparseMatrixEZ::end (const unsigned int r) const { Assert (r