From a67cbd7828e25130da3e234a08717a1d29b41599 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:20:41 -0600 Subject: [PATCH] Do not use 'typename' outside templates. --- tests/bits/find_cell_12.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bits/find_cell_12.cc b/tests/bits/find_cell_12.cc index 74d5249a79..39c21d0aef 100644 --- a/tests/bits/find_cell_12.cc +++ b/tests/bits/find_cell_12.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2003 - 2015 by the deal.II authors +// Copyright (C) 2003 - 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -64,7 +64,7 @@ void test() right_top, true); - typename Triangulation<2>::active_cell_iterator + Triangulation<2>::active_cell_iterator cell = triangulation.begin_active(), endc = triangulation.end(); for (; cell!=endc; ++cell) @@ -82,7 +82,7 @@ void test() std::cout << "Checking Point " << test_point << std::endl; try { - std::pair::active_cell_iterator, Point<2> > current_cell = + std::pair::active_cell_iterator, Point<2> > current_cell = GridTools::find_active_cell_around_point(MappingQGeneric<2>(1), triangulation, test_point); deallog << "cell: index = " << current_cell.first->index() -- 2.39.5