]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Copy constructor fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2001 13:18:08 +0000 (13:18 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Oct 2001 13:18:08 +0000 (13:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@5157 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/block_sparsity_pattern.cc

index f07f93b816965903a5b38c3b8125887d1376c22a..d92582d7840fa67af0c3dc77a3884c68284e7508 100644 (file)
@@ -1,4 +1,4 @@
-//----------------------------  block_block_sparsity_pattern.cc  ---------------------------
+//------------------------------------------------------------------------
 //    $Id$
 //    Version: $Name$
 //
@@ -9,7 +9,7 @@
 //    to the file deal.II/doc/license.html for the  text  and
 //    further information on this license.
 //
-//----------------------------  block_block_sparsity_pattern.cc  ---------------------------
+//------------------------------------------------------------------------
 
 #include <base/memory_consumption.h>
 #include <lac/block_sparsity_pattern.h>
@@ -40,7 +40,8 @@ BlockSparsityPatternBase (const unsigned int r,
 
 template <class SparsityPatternBase>
 BlockSparsityPatternBase<SparsityPatternBase>::BlockSparsityPatternBase (
-  const BlockSparsityPatternBase<SparsityPatternBase>& s)
+  const BlockSparsityPatternBase<SparsityPatternBase>& s) :
+               Subscriptor ()
 {
   Assert(s.rows==0, ExcInvalidConstructorCall());
   Assert(s.columns==0, ExcInvalidConstructorCall());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.