From 9bf85399924889845579d6588732d8465dcd151b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:52:51 -0600 Subject: [PATCH] Do not use 'typename' outside templates. --- tests/grid/grid_tools_vertex_to_cell_map_02.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/grid/grid_tools_vertex_to_cell_map_02.cc b/tests/grid/grid_tools_vertex_to_cell_map_02.cc index fa724a7803..e43fa8d512 100644 --- a/tests/grid/grid_tools_vertex_to_cell_map_02.cc +++ b/tests/grid/grid_tools_vertex_to_cell_map_02.cc @@ -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::active_cell_iterator> > + std::vector::active_cell_iterator> > vertex_to_cell = GridTools::vertex_to_cell_map(tria); AssertThrow(tria.n_vertices()==vertex_to_cell.size(), -- 2.39.5