]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Help non-C++11 compilers.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 17 Sep 2013 12:08:04 +0000 (12:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 17 Sep 2013 12:08:04 +0000 (12:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@30761 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index b036739d6f70776a417b7bb43d69c3da80b788c3..e1251cc7e6e0cfed2ce88e38463226c0710256b2 100644 (file)
@@ -3537,10 +3537,10 @@ namespace parallel
 
       for(; it!=end_periodic; ++it)
       {
-        const cell_iterator cell1 = std::get<0> (*it);
-        const cell_iterator cell2 = std::get<2> (*it);
-        const unsigned int face_idx1 = std::get<1> (*it);
-        const unsigned int face_idx2 = std::get<3> (*it);
+        const cell_iterator cell1 = std_cxx1x::get<0> (*it);
+        const cell_iterator cell2 = std_cxx1x::get<2> (*it);
+        const unsigned int face_idx1 = std_cxx1x::get<1> (*it);
+        const unsigned int face_idx2 = std_cxx1x::get<3> (*it);
         const GridTools::PeriodicFacePair<cell_iterator> matched_face
           = {{cell1, cell2},{face_idx1, face_idx2}, 1};
         periodic_faces.push_back(matched_face);

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.