]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make dummy a template function to avoid duplicate symbols.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Jun 2006 21:39:37 +0000 (21:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Jun 2006 21:39:37 +0000 (21:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@13269 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_handler.cc

index a8e4a47907955ef6fe66c7df02cf01127f867d9e..cee8d45d0d7a2976f066169cb719c27780b287f8 100644 (file)
@@ -42,10 +42,13 @@ const unsigned int DoFHandler<dim>::default_fe_index;
 // a bug in the icc8 compiler
 namespace internal
 {
+  template <int dim>
   const unsigned int * dummy ()
   {
-    return &::DoFHandler<deal_II_dimension>::invalid_dof_index;
+    return &::DoFHandler<dim>::invalid_dof_index;
   }
+
+  template const unsigned int * dummy<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.