From cd4021a83d3e6573360b028bec7561bd8ca993d2 Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 5 Feb 1999 18:37:59 +0000 Subject: [PATCH] Make copy constructor of dSMatrixStruct private. git-svn-id: https://svn.dealii.org/trunk@757 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/dsmatrix.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/dsmatrix.h b/deal.II/lac/include/lac/dsmatrix.h index 4a8f5f3019..2074960fed 100644 --- a/deal.II/lac/include/lac/dsmatrix.h +++ b/deal.II/lac/include/lac/dsmatrix.h @@ -29,6 +29,19 @@ CLASS */ class dSMatrixStruct { + private: + /** + * Copy constructor, made private in order to + * prevent copying such an object which does + * not make much sense because you can use + * a structure like this for more than one + * matrix. + * + * Because it is not needed, this function + * is not implemented. + */ + dSMatrixStruct (const dSMatrixStruct &); + public: /** * Initialize the matrix empty, i.e. with @@ -749,8 +762,6 @@ const int * dSMatrixStruct::get_column_numbers () const { - - inline unsigned int dSMatrix::m () const { -- 2.39.5