From: hartmann Date: Mon, 3 May 1999 14:21:44 +0000 (+0000) Subject: Copy constructor needs explicit initialization of the base class 'Subscriptor' X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea7bef0cadd2d8a2f6d44427144dbc515e17852;p=dealii-svn.git Copy constructor needs explicit initialization of the base class 'Subscriptor' git-svn-id: https://svn.dealii.org/trunk@1241 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 3d2040cb2c..bfef8d7f7d 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -28,6 +28,7 @@ SparseMatrix::SparseMatrix () : template SparseMatrix::SparseMatrix (const SparseMatrix &m) : + Subscriptor(), cols(0), val(0), max_len(0) @@ -40,11 +41,11 @@ SparseMatrix::SparseMatrix (const SparseMatrix &m) : template -SparseMatrix::SparseMatrix (const SparseMatrixStruct &c) - : cols(&c), - val(0), - max_len(0), - is_ilu(false) +SparseMatrix::SparseMatrix (const SparseMatrixStruct &c) : + cols(&c), + val(0), + max_len(0), + is_ilu(false) { reinit(); };