From: wolf Date: Fri, 2 Apr 2004 23:52:53 +0000 (+0000) Subject: Avoid some failure of icc where it doesn't want to accept a typedef for an argument. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d18c88270bea3960b93a323e9bf94fe8b9afc1e1;p=dealii-svn.git Avoid some failure of icc where it doesn't want to accept a typedef for an argument. git-svn-id: https://svn.dealii.org/trunk@8961 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 605943d612..3e1ec03aae 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -43,9 +43,9 @@ double sqr (const double x) } -template +template static -void advance_by_n (typename DoFHandler::active_cell_iterator &cell, +void advance_by_n (CellIterator &cell, const unsigned int n) { for (unsigned int t=0; @@ -516,8 +516,7 @@ estimate_some (const Mapping &mapping, // loop over all cells for this thread - for (; cell!=dof_handler.end(); - advance_by_n(cell,this_thread.second)) + for (; cell!=dof_handler.end(); advance_by_n(cell,this_thread.second)) { // loop over all faces of this cell