From: David Wells Date: Sun, 10 Sep 2017 01:05:56 +0000 (-0400) Subject: Move a method into the correct class. X-Git-Tag: v9.0.0-rc1~854^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20135c15f858cf9b19695b704420e22d998d75c7;p=dealii.git Move a method into the correct class. --- 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 &); }; /*@}*/