From: Wolfgang Bangerth Date: Tue, 11 Mar 2003 19:58:48 +0000 (+0000) Subject: Explicitly copy-initialize base class. Constify some variables. X-Git-Tag: v8.0.0~16779 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfcbb82a1515b81c42ebcb5e1ed089254c7445de;p=dealii.git Explicitly copy-initialize base class. Constify some variables. git-svn-id: https://svn.dealii.org/trunk@7322 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h index cef984a3bd..b3eb6cdf78 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h +++ b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h @@ -78,6 +78,7 @@ template BlockSparseMatrixEZ::BlockSparseMatrixEZ ( const BlockSparseMatrixEZ &m) : + Subscriptor (m), row_indices(m.row_indices), column_indices(m.column_indices), blocks(m.blocks) @@ -87,8 +88,8 @@ BlockSparseMatrixEZ::BlockSparseMatrixEZ ( template void -BlockSparseMatrixEZ::reinit (unsigned int rows, - unsigned int cols) +BlockSparseMatrixEZ::reinit (const unsigned int rows, + const unsigned int cols) { row_indices.reinit(rows, 0); column_indices.reinit(cols, 0);