]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Assert a dummy initialization to a copy constructor that shouldn't be
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Aug 2005 15:19:53 +0000 (15:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Aug 2005 15:19:53 +0000 (15:19 +0000)
used. Avoids an error with gcc 3.3.

git-svn-id: https://svn.dealii.org/trunk@11329 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index 6747e018324e55ba612af4379659648e02e17be7..81eaf2ff584dfd7c41d9dc324790c23cf16ef195 100644 (file)
@@ -203,7 +203,8 @@ template <int dim>
 FiniteElement<dim>::FiniteElement (const FiniteElement<dim> &)
                :
                Subscriptor(),
-               FiniteElementData<dim>()
+               FiniteElementData<dim>(),
+                cached_primitivity (false)
 {
   Assert (false,
           ExcMessage ("Finite element objects don't support copying "

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.