From: Wolfgang Bangerth Date: Mon, 29 Apr 2002 13:01:02 +0000 (+0000) Subject: Work around a bug in Intel's icc, which introduced the wrong class names into the... X-Git-Tag: v8.0.0~18111 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64a0a92f200cb14af57ee8ebc3bbab3ae19f2895;p=dealii.git Work around a bug in Intel's icc, which introduced the wrong class names into the wrong namespace when using a namespace-using directive. git-svn-id: https://svn.dealii.org/trunk@5741 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-14/step-14.cc b/deal.II/examples/step-14/step-14.cc index b35a8a2959..fdd9b42fc1 100644 --- a/deal.II/examples/step-14/step-14.cc +++ b/deal.II/examples/step-14/step-14.cc @@ -3778,56 +3778,52 @@ void Framework::run (const ProblemDescription &descriptor) { case ProblemDescription::dual_weighted_error_estimator: { - using namespace LaplaceSolver; solver - = new WeightedResidual (triangulation, - primal_fe, - dual_fe, - quadrature, - face_quadrature, - descriptor.data->get_right_hand_side(), - descriptor.data->get_boundary_values(), - *descriptor.dual_functional); + = new LaplaceSolver::WeightedResidual (triangulation, + primal_fe, + dual_fe, + quadrature, + face_quadrature, + descriptor.data->get_right_hand_side(), + descriptor.data->get_boundary_values(), + *descriptor.dual_functional); break; }; case ProblemDescription::global_refinement: { - using namespace LaplaceSolver; solver - = new RefinementGlobal (triangulation, - primal_fe, - quadrature, - face_quadrature, - descriptor.data->get_right_hand_side(), - descriptor.data->get_boundary_values()); + = new LaplaceSolver::RefinementGlobal (triangulation, + primal_fe, + quadrature, + face_quadrature, + descriptor.data->get_right_hand_side(), + descriptor.data->get_boundary_values()); break; }; case ProblemDescription::kelly_indicator: { - using namespace LaplaceSolver; solver - = new RefinementKelly (triangulation, - primal_fe, - quadrature, - face_quadrature, - descriptor.data->get_right_hand_side(), - descriptor.data->get_boundary_values()); + = new LaplaceSolver::RefinementKelly (triangulation, + primal_fe, + quadrature, + face_quadrature, + descriptor.data->get_right_hand_side(), + descriptor.data->get_boundary_values()); break; }; case ProblemDescription::weighted_kelly_indicator: { - using namespace LaplaceSolver; solver - = new RefinementWeightedKelly (triangulation, - primal_fe, - quadrature, - face_quadrature, - descriptor.data->get_right_hand_side(), - descriptor.data->get_boundary_values(), - *descriptor.kelly_weight); + = new LaplaceSolver::RefinementWeightedKelly (triangulation, + primal_fe, + quadrature, + face_quadrature, + descriptor.data->get_right_hand_side(), + descriptor.data->get_boundary_values(), + *descriptor.kelly_weight); break; };