]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Explicitly use two template arguments even if one is defaulted. Clang
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:01:41 +0000 (04:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:01:41 +0000 (04:01 +0000)
trips over this otherwise (incorrectly so, but it's easy to work
around anyway).

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

deal.II/source/hp/dof_handler.cc

index 3b9e8959f556f39cfda143317a4e5ed79bb7b8fa..72a3073b6019dda5a913824e58f3d9066b05bd7c 100644 (file)
@@ -2685,7 +2685,7 @@ namespace hp
   {
     Assert (finite_elements != 0, ExcNoFESelected());
 
-    DoFHandler<1>::cell_iterator cell;
+    DoFHandler<1,1>::cell_iterator cell;
     unsigned int n = 0;
 
                                      // search left-most cell
@@ -2718,7 +2718,7 @@ namespace hp
       Assert ((i->first == 0) || (i->first == 1),
               ExcInvalidBoundaryIndicator());
 
-    DoFHandler<1>::active_cell_iterator cell;
+    DoFHandler<1,1>::active_cell_iterator cell;
     unsigned int n = 0;
 
                                      // search left-most cell

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.