]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not use 'typename' outside templates.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:41:08 +0000 (14:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:50:11 +0000 (14:50 -0600)
tests/manifold/spherical_manifold_02.cc

index e45e72fb4ddd3c09afa03ab0d26179e8812bbe27..0fae0d8702a98ed63174494d7718b912dbb51e4f 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.