From: hartmann Date: Fri, 5 Feb 1999 18:37:59 +0000 (+0000) Subject: Make copy constructor of dSMatrixStruct private. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4021a83d3e6573360b028bec7561bd8ca993d2;p=dealii-svn.git Make copy constructor of dSMatrixStruct private. git-svn-id: https://svn.dealii.org/trunk@757 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 {