]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test by not using a C++11 statement GCC 4.6 balks at. 2959/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 14 Aug 2016 19:25:10 +0000 (14:25 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 14 Aug 2016 19:25:10 +0000 (14:25 -0500)
tests/grid/move_constructor.cc

index 6ee0c49ace39d5b14222244302c88930cfec0029..b272e74a62811054631e396ebe35822cbacac4c4 100644 (file)
@@ -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<dim> tria;
   GridGenerator::hyper_cube(tria, -1.0, 1.0, true);
 
-  using periodic_face_pair =
-    GridTools::PeriodicFacePair<typename Triangulation<dim>::cell_iterator>;
+  typedef GridTools::PeriodicFacePair<typename Triangulation<dim>::cell_iterator> periodic_face_pair;
   std::vector<periodic_face_pair> periodicity_vector;
   GridTools::collect_periodic_faces(tria, 0, 1, 0, periodicity_vector);
   tria.add_periodicity(periodicity_vector);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.