]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix compile problem with clang
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2013 06:24:03 +0000 (06:24 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2013 06:24:03 +0000 (06:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@30681 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/dofs/dof_accessor.templates.h

index 0e3a32c1618ee7063c4771e3a7d32016f3a5de71..6ccc484d8542b4901397bc4f3a020715e69013ef 100644 (file)
@@ -2581,8 +2581,8 @@ namespace internal
                 ExcInternalError());
 
         std::vector<types::global_dof_index> dof_indices (dofs_per_cell);
-        accessor.dealii::DoFAccessor<dim,dealii::hp::DoFHandler<dim,spacedim>,lda>::get_dof_indices
-        (dof_indices, accessor.active_fe_index());
+        static_cast<const dealii::DoFAccessor<dim,dealii::hp::DoFHandler<dim,spacedim>,lda> &>
+          (accessor).get_dof_indices (dof_indices, accessor.active_fe_index());
 
         types::global_dof_index *next_dof_index
         = &accessor.dof_handler->levels[accessor.present_level]

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.