]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the correct syntax to initialize a static member variable.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 24 Feb 2006 02:28:35 +0000 (02:28 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 24 Feb 2006 02:28:35 +0000 (02:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@12488 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 93f54861d00a50fa8094def55bef32bb899c19ed..f001b536dd4c44e071ee68b2e5481165086a8167 100644 (file)
@@ -76,8 +76,10 @@ namespace hp
 //---------------------------------------------------------------------------
 
 
-  template <int dim> MappingCollection<dim>
-  StaticMappingQ1<dim>::mapping_collection(::StaticMappingQ1<dim>::mapping);
+  template <int dim>
+  MappingCollection<dim>
+  StaticMappingQ1<dim>::mapping_collection
+  = MappingCollection<dim>(::StaticMappingQ1<dim>::mapping);
 
 // explicit instantiations
   template class MappingCollection<deal_II_dimension>;

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.