From 20135c15f858cf9b19695b704420e22d998d75c7 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 9 Sep 2017 21:05:56 -0400 Subject: [PATCH] Move a method into the correct class. --- include/deal.II/lac/block_matrix_array.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/include/deal.II/lac/block_matrix_array.h b/include/deal.II/lac/block_matrix_array.h index a40548b9ef..44de24864a 100644 --- a/include/deal.II/lac/block_matrix_array.h +++ b/include/deal.II/lac/block_matrix_array.h @@ -318,6 +318,15 @@ protected: * The matrix block itself. */ PointerMatrixBase *matrix; + + /** + * Assignment operator. + * + * @note Since the copy constructor is destructive (see its documentation) + * and only exists for convenience there is no reasonable way to implement + * this, so it is explicitly deleted. + */ + Entry &operator= (const Entry &) = delete; }; /** @@ -334,13 +343,6 @@ private: * number of blocks per row. */ unsigned int block_cols; - - /** - * Assignment operator. Since the copy constructor is destructive (see its - * documentation) and only exists for convenience there is no reasonable way - * to implement this. Hence this operator is both private and unimplemented. - */ - Entry &operator= (const Entry &); }; /*@}*/ -- 2.39.5