From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 20:25:42 +0000 (-0600) Subject: Do not use 'typename' outside templates. X-Git-Tag: v8.5.0-rc1~600^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3195%2Fhead;p=dealii.git Do not use 'typename' outside templates. --- 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) {