From: maier Date: Mon, 14 Oct 2013 13:51:52 +0000 (+0000) Subject: Workaround an issue with clang and enabled C++11 mode X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1c9b050c089fd5f91500d028785e81ca87bbab;p=dealii-svn.git 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 --- 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