From: hartmann Date: Wed, 10 Feb 1999 18:05:38 +0000 (+0000) Subject: changing the destructor, the reinit(), reinit(1) and clear() to virtual X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f619cf9b51c56318342bb52b4af7a6fb7430e23;p=dealii-svn.git changing the destructor, the reinit(), reinit(1) and clear() to virtual git-svn-id: https://svn.dealii.org/trunk@778 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/dsmatrix.h b/deal.II/lac/include/lac/dsmatrix.h index 0bba9907d0..e08e21ccd4 100644 --- a/deal.II/lac/include/lac/dsmatrix.h +++ b/deal.II/lac/include/lac/dsmatrix.h @@ -402,7 +402,7 @@ class dSMatrix * release the memory of the sparsity * structure. */ - ~dSMatrix (); + virtual ~dSMatrix (); /** @@ -420,7 +420,7 @@ class dSMatrix * dimensions are zero), then all memory * is freed. */ - void reinit (); + virtual void reinit (); /** * Reinitialize the sparse matrix with the @@ -437,7 +437,7 @@ class dSMatrix * long as #reinit# is not called with a * new sparsity structure. */ - void reinit (const dSMatrixStruct &sparsity); + virtual void reinit (const dSMatrixStruct &sparsity); /** * Release all memory and return to a state @@ -446,7 +446,7 @@ class dSMatrix * sparsity pattern it was previously tied * to. */ - void clear (); + virtual void clear (); /** * Return the dimension of the image space.