From: Wolfgang Bangerth Date: Mon, 18 Aug 2014 10:27:03 +0000 (-0500) Subject: Fix a couple more files that accidentally use C++11 auto variables. X-Git-Tag: v8.2.0-rc1~200^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b72923aefb80893ddf45f25b0bfe49db7e05a98;p=dealii.git Fix a couple more files that accidentally use C++11 auto variables. --- diff --git a/tests/manifold/cylindrical_manifold_02.cc b/tests/manifold/cylindrical_manifold_02.cc index 77cc1e5048..61ca6730a2 100644 --- a/tests/manifold/cylindrical_manifold_02.cc +++ b/tests/manifold/cylindrical_manifold_02.cc @@ -1,5 +1,5 @@ //---------------------------- cylindrical_manifold_01.cc --------------------------- -// Copyright (C) 2011, 2013 by the mathLab team. +// Copyright (C) 2011, 2013, 2014 by the mathLab team. // // This file is subject to LGPL and may not be distributed // without copyright and license information. Please refer @@ -38,7 +38,7 @@ void test(unsigned int ref=1) Triangulation tria; GridGenerator::cylinder_shell (tria, .5, .1, .25); - for(auto cell = tria.begin_active(); cell != tria.end(); ++cell) { + for(typename Triangulation::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) { cell->set_all_manifold_ids(1); } diff --git a/tests/manifold/function_manifold_02.cc b/tests/manifold/function_manifold_02.cc index e5f0c37cbd..47812572c4 100644 --- a/tests/manifold/function_manifold_02.cc +++ b/tests/manifold/function_manifold_02.cc @@ -1,5 +1,5 @@ //---------------------------- function_manifold_chart --------------------------- -// Copyright (C) 2011, 2013 by the mathLab team. +// Copyright (C) 2011, 2013, 2014 by the mathLab team. // // This file is subject to LGPL and may not be distributed // without copyright and license information. Please refer @@ -55,7 +55,7 @@ void test(unsigned int ref=1) Triangulation tria; GridGenerator::hyper_cube (tria, 0, 1); - for(auto cell = tria.begin_active(); cell != tria.end(); ++cell) { + for(typename Triangulation::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) { cell->set_all_manifold_ids(1); }