From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 20:41:08 +0000 (-0600) Subject: Do not use 'typename' outside templates. X-Git-Tag: v8.5.0-rc1~590^2~1^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e31ce34d35c21d99ffc3f52887f0a6cf3f62524f;p=dealii.git Do not use 'typename' outside templates. --- 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)