From: bangerth Date: Sun, 21 Aug 2011 04:01:41 +0000 (+0000) Subject: Explicitly use two template arguments even if one is defaulted. Clang X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebef7c14abc84c11fa7cc3b8e84b4e07f2a9f36b;p=dealii-svn.git Explicitly use two template arguments even if one is defaulted. Clang 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 --- diff --git a/deal.II/source/hp/dof_handler.cc b/deal.II/source/hp/dof_handler.cc index 3b9e8959f5..72a3073b60 100644 --- a/deal.II/source/hp/dof_handler.cc +++ b/deal.II/source/hp/dof_handler.cc @@ -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