From 8f1c9b050c089fd5f91500d028785e81ca87bbab Mon Sep 17 00:00:00 2001 From: maier Date: Mon, 14 Oct 2013 13:51:52 +0000 Subject: [PATCH] Workaround an issue with clang and enabled C++11 mode git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31228 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/mpi/coarse_grid_common.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/mpi/coarse_grid_common.h b/tests/mpi/coarse_grid_common.h index 9c915f0c27..a7537f052f 100644 --- a/tests/mpi/coarse_grid_common.h +++ b/tests/mpi/coarse_grid_common.h @@ -99,21 +99,24 @@ void assert_tria_equal(const Triangulation &a, const Triangulation &b) } -template +/* + * Do not use a template here to work around an overload resolution issue with clang and + * enabled C++11 mode. + * + * - Maier 2013 + */ LogStream & operator << (LogStream &out, - const std::vector &v) + const std::vector &v) { for (unsigned int i=0; i -std::ostringstream & -operator << (std::ostringstream &out, - const std::vector &v) +LogStream & +operator << (LogStream &out, + const std::vector &v) { for (unsigned int i=0; i