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