From: Wolfgang 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-Tag: v8.0.0~3619 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f0e22e8040325a60d152b5d9d4c0fc5c4bc0e8d;p=dealii.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