]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a compiler error in clang.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:21:22 +0000 (04:21 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:21:22 +0000 (04:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@24159 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 8786f1b15431fb85f68ab766eec61546e1d1cd05..21eded523eac60ef7849e655ae66dbfbee3fd09d 100644 (file)
@@ -1,7 +1,7 @@
 //---------------------------------------------------------------------------
 //    $Id$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -2405,9 +2405,14 @@ namespace internal
        get_dof_indices (const DoFCellAccessor<dealii::hp::DoFHandler<dim,spacedim> > &accessor,
                         std::vector<unsigned int>                            &dof_indices)
          {
-                                            // no caching for hp::DoFHandler implemented
-           accessor.dealii::DoFAccessor<dim,dealii::hp::DoFHandler<dim,spacedim> >::get_dof_indices (dof_indices,
-                                                                                     accessor.active_fe_index());
+                                            // no caching for
+                                            // hp::DoFHandler
+                                            // implemented
+           typedef
+             dealii::DoFAccessor<dim,dealii::hp::DoFHandler<dim,spacedim> >
+             DoFAccessor;
+           accessor.DoFAccessor::get_dof_indices (dof_indices,
+                                                  accessor.active_fe_index());
          }
 
 

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.