From 795071104f96ce69e25a2bde242379ef1cf35b8e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:25:42 -0600 Subject: [PATCH] Do not use 'typename' outside templates. --- tests/grid/vertex_iterator.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/grid/vertex_iterator.cc b/tests/grid/vertex_iterator.cc index 477a2702ab..5fbfc0e019 100644 --- a/tests/grid/vertex_iterator.cc +++ b/tests/grid/vertex_iterator.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. // @@ -32,13 +32,13 @@ void test () GridGenerator::hyper_cube (tria); tria.refine_global (2); - for (typename Triangulation<2>::vertex_iterator + for (Triangulation<2>::vertex_iterator vertex_it = tria.begin_vertex(); vertex_it != tria.end_vertex(); ++vertex_it) deallog << vertex_it->center() <::active_cell_iterator + for (Triangulation<2>::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) { for (unsigned int i=0; i<4; ++i) @@ -46,7 +46,7 @@ void test () deallog << std::endl; } - for (typename Triangulation<2>::active_cell_iterator + for (Triangulation<2>::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) for (unsigned int i=0; i<4; ++i) { -- 2.39.5