From: Daniel Arndt Date: Wed, 18 Mar 2020 22:55:28 +0000 (-0400) Subject: Default copy constructor for MatrixBlock X-Git-Tag: v9.2.0-rc1~402^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd5069cd515e0d33ed6da6a08626021bc80bfef5;p=dealii.git Default copy constructor for MatrixBlock --- diff --git a/include/deal.II/lac/matrix_block.h b/include/deal.II/lac/matrix_block.h index 6de8495a67..6c388aa822 100644 --- a/include/deal.II/lac/matrix_block.h +++ b/include/deal.II/lac/matrix_block.h @@ -130,7 +130,7 @@ public: /** * Copy constructor. */ - MatrixBlock(const MatrixBlock &M); + MatrixBlock(const MatrixBlock &M) = default; /** * Assignment operator. @@ -644,17 +644,6 @@ inline MatrixBlock::MatrixBlock() {} -template -inline MatrixBlock::MatrixBlock(const MatrixBlock &M) - : Subscriptor() - , row(M.row) - , column(M.column) - , matrix(M.matrix) - , row_indices(M.row_indices) - , column_indices(M.column_indices) -{} - - template inline MatrixBlock::MatrixBlock(size_type i, size_type j) : row(i)