From: Wolfgang Bangerth Date: Tue, 17 Sep 2013 12:08:04 +0000 (+0000) Subject: Help non-C++11 compilers. X-Git-Tag: v8.1.0~791 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=472a35f395fa271ef4e5d9b1709f4eea4407fd8b;p=dealii.git Help non-C++11 compilers. git-svn-id: https://svn.dealii.org/trunk@30761 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/distributed/tria.cc b/deal.II/source/distributed/tria.cc index b036739d6f..e1251cc7e6 100644 --- a/deal.II/source/distributed/tria.cc +++ b/deal.II/source/distributed/tria.cc @@ -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 matched_face = {{cell1, cell2},{face_idx1, face_idx2}, 1}; periodic_faces.push_back(matched_face);