From e31ce34d35c21d99ffc3f52887f0a6cf3f62524f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:41:08 -0600 Subject: [PATCH] Do not use 'typename' outside templates. --- tests/manifold/spherical_manifold_02.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/manifold/spherical_manifold_02.cc b/tests/manifold/spherical_manifold_02.cc index e45e72fb4d..0fae0d8702 100644 --- a/tests/manifold/spherical_manifold_02.cc +++ b/tests/manifold/spherical_manifold_02.cc @@ -83,7 +83,7 @@ void test (MappingEnum::type mapping_name, unsigned int refinements=1) // static const RotatedSphericalManifold rotated_sphere; // triangulation.set_manifold (1, rotated_sphere); - for (typename Triangulation<2,3>::active_cell_iterator + for (Triangulation<2,3>::active_cell_iterator cell=triangulation.begin_active(); cell!=triangulation.end(); ++cell) { @@ -131,7 +131,7 @@ void test (MappingEnum::type mapping_name, unsigned int refinements=1) const unsigned int n_q_points = cell_quadrature.size(); double surface_area = 0; - for (typename DoFHandler<2,3>::active_cell_iterator + for (DoFHandler<2,3>::active_cell_iterator cell = dof_handler.begin_active(), endc = dof_handler.end(); cell!=endc; ++cell) -- 2.39.5