]> https://gitweb.dealii.org/ - dealii.git/commitdiff
step-52: avoid typename outside template functions 1919/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 28 Nov 2015 13:17:01 +0000 (08:17 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 28 Nov 2015 13:17:01 +0000 (08:17 -0500)
examples/step-52/step-52.cc

index 27e8860b1e3e5171593741f1ac583ac782fcfd7e..d913d5256755dafde4074639e0bfda1831d824bd 100644 (file)
@@ -212,7 +212,7 @@ namespace Step52
 
     std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
-    typename DoFHandler<2>::active_cell_iterator
+    DoFHandler<2>::active_cell_iterator
     cell = dof_handler.begin_active(),
     endc = dof_handler.end();
 
@@ -304,7 +304,7 @@ namespace Step52
 
     std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
 
-    typename DoFHandler<2>::active_cell_iterator
+    DoFHandler<2>::active_cell_iterator
     cell = dof_handler.begin_active(),
     endc = dof_handler.end();
 
@@ -606,7 +606,7 @@ namespace Step52
     GridGenerator::hyper_cube(triangulation, 0., 5.);
     triangulation.refine_global(4);
 
-    typename Triangulation<2>::active_cell_iterator
+    Triangulation<2>::active_cell_iterator
     cell = triangulation.begin_active(),
     endc = triangulation.end();
 

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.