From 8de0a00de89ccc62505e67423ded93b44873d1da Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 7 Apr 2010 19:54:26 +0000 Subject: [PATCH] Make compatible with pre-4.5 compilers again... git-svn-id: https://svn.dealii.org/trunk@20962 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/data_out_04.cc | 18 +++++++++--------- tests/bits/data_out_faces_04.cc | 18 +++++++++--------- tests/bits/data_out_rotation_04.cc | 18 +++++++++--------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/tests/bits/data_out_04.cc b/tests/bits/data_out_04.cc index 418df37f3d..05ddf24957 100644 --- a/tests/bits/data_out_04.cc +++ b/tests/bits/data_out_04.cc @@ -124,23 +124,23 @@ check_this (const DoFHandler &dof_handler, ExcInternalError()); for (unsigned int i=0; i(data_out.get_vector_data_ranges()[i]) + deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<1>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<2>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) << std::endl; - Assert (std::get<0>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) == - std::get<0>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<1>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) == - std::get<1>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<2>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) == - std::get<2>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]), ExcInternalError()); } diff --git a/tests/bits/data_out_faces_04.cc b/tests/bits/data_out_faces_04.cc index d67ba6b0c0..4b5962bb37 100644 --- a/tests/bits/data_out_faces_04.cc +++ b/tests/bits/data_out_faces_04.cc @@ -125,23 +125,23 @@ my_check_this (const DoFHandler &dof_handler, ExcInternalError()); for (unsigned int i=0; i(data_out.get_vector_data_ranges()[i]) + deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<1>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<2>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) << std::endl; - Assert (std::get<0>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) == - std::get<0>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<1>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) == - std::get<1>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<2>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) == - std::get<2>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]), ExcInternalError()); } diff --git a/tests/bits/data_out_rotation_04.cc b/tests/bits/data_out_rotation_04.cc index c4ffd32666..a94b994399 100644 --- a/tests/bits/data_out_rotation_04.cc +++ b/tests/bits/data_out_rotation_04.cc @@ -126,23 +126,23 @@ my_check_this (const DoFHandler &dof_handler, ExcInternalError()); for (unsigned int i=0; i(data_out.get_vector_data_ranges()[i]) + deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<1>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) << ' ' - << std::get<2>(data_out.get_vector_data_ranges()[i]) + << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) << std::endl; - Assert (std::get<0>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i]) == - std::get<0>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<1>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i]) == - std::get<1>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]), ExcInternalError()); - Assert (std::get<2>(data_out.get_vector_data_ranges()[i]) + Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i]) == - std::get<2>(reader.get_vector_data_ranges()[i]), + std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]), ExcInternalError()); } -- 2.39.5