From 1366b08d59a8a0c8c1bea1546e716613009ad2cd Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 14 Aug 2016 14:25:10 -0500 Subject: [PATCH] Fix a test by not using a C++11 statement GCC 4.6 balks at. --- tests/grid/move_constructor.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/grid/move_constructor.cc b/tests/grid/move_constructor.cc index 6ee0c49ace..b272e74a62 100644 --- a/tests/grid/move_constructor.cc +++ b/tests/grid/move_constructor.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. // @@ -87,8 +87,7 @@ void test_periodic_cube() Triangulation tria; GridGenerator::hyper_cube(tria, -1.0, 1.0, true); - using periodic_face_pair = - GridTools::PeriodicFacePair::cell_iterator>; + typedef GridTools::PeriodicFacePair::cell_iterator> periodic_face_pair; std::vector periodicity_vector; GridTools::collect_periodic_faces(tria, 0, 1, 0, periodicity_vector); tria.add_periodicity(periodicity_vector); -- 2.39.5