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

index fa724a7803fb9ea371d4a6f14a7d227bc38e189a..e43fa8d5123fae8794894b988125cd1f72ebb961 100644 (file)
@@ -1,6 +1,6 @@
 
 //
-// Copyright (C) 2015 by the deal.II authors
+// Copyright (C) 2015, 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -37,11 +37,11 @@ void test()
   repetitions[1] = 2;
   repetitions[2] = 1;
   GridGenerator::subdivided_hyper_rectangle(tria,repetitions,a,b);
-  typename Triangulation<3>::active_cell_iterator cell = tria.begin_active();
+  Triangulation<3>::active_cell_iterator cell = tria.begin_active();
   cell->set_refine_flag();
   tria.execute_coarsening_and_refinement();
 
-  std::vector<std::set<typename Triangulation<3>::active_cell_iterator> >
+  std::vector<std::set<Triangulation<3>::active_cell_iterator> >
   vertex_to_cell = GridTools::vertex_to_cell_map(tria);
 
   AssertThrow(tria.n_vertices()==vertex_to_cell.size(),

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.