From: Wolfgang Bangerth Date: Wed, 9 Jan 2002 08:27:43 +0000 (+0000) Subject: Fix forgotten typenames X-Git-Tag: v8.0.0~18468 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=548646d7ef9d205a621ee826a173c5a2659e1fa1;p=dealii.git Fix forgotten typenames git-svn-id: https://svn.dealii.org/trunk@5367 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 1686baaa51..13c9de0e72 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -1520,8 +1520,9 @@ void DGMethod::refine_grid () // and they are cell-wise scaled by // the factor $h^{1+d/2}$ - DoFHandler::active_cell_iterator cell = dof_handler.begin_active(), - endc = dof_handler.end(); + typename DoFHandler::active_cell_iterator + cell = dof_handler.begin_active(), + endc = dof_handler.end(); for (unsigned int cell_no=0; cell!=endc; ++cell, ++cell_no) gradient_indicator(cell_no)*=std::pow(cell->diameter(), 1+1.0*dim/2); diff --git a/deal.II/examples/step-6/step-6.cc b/deal.II/examples/step-6/step-6.cc index ae62eed7b7..b0daa315ee 100644 --- a/deal.II/examples/step-6/step-6.cc +++ b/deal.II/examples/step-6/step-6.cc @@ -695,7 +695,7 @@ void LaplaceProblem::refine_grid () // do not use Neumann boundary // conditions, the map will not // contain entries. - FunctionMap::type neumann_boundary; + typename FunctionMap::type neumann_boundary; // Now we call the error // estimator. The parameters should diff --git a/deal.II/examples/step-8/step-8.cc b/deal.II/examples/step-8/step-8.cc index 834569c0f4..d5f0a1092f 100644 --- a/deal.II/examples/step-8/step-8.cc +++ b/deal.II/examples/step-8/step-8.cc @@ -801,7 +801,7 @@ void ElasticProblem::refine_grid () { Vector estimated_error_per_cell (triangulation.n_active_cells()); - FunctionMap::type neumann_boundary; + typename FunctionMap::type neumann_boundary; KellyErrorEstimator::estimate (dof_handler, QGauss2(), neumann_boundary, diff --git a/deal.II/examples/step-9/step-9.cc b/deal.II/examples/step-9/step-9.cc index a534ff8792..68efbfab79 100644 --- a/deal.II/examples/step-9/step-9.cc +++ b/deal.II/examples/step-9/step-9.cc @@ -1914,7 +1914,7 @@ GradientEstimation::estimate_interval (const DoFHandler &dof_handler, // Now loop over all active // neighbors and collect the // data we need. - typename std::vector::active_cell_iterator>::const_iterator + typename std::vector::active_cell_iterator>::const_iterator neighbor_ptr = active_neighbors.begin(); for (; neighbor_ptr!=active_neighbors.end(); ++neighbor_ptr) {