From: Timo Heister Date: Mon, 16 Mar 2020 22:01:41 +0000 (-0400) Subject: Fix hdf5 tests X-Git-Tag: v9.2.0-rc1~413^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db85d913df6da7d837fc6d2ea51ccd9e9bfc39b9;p=dealii.git Fix hdf5 tests std::vector is sent to deallog in several hdf5 tests (get_dimensions()). Re-add the operator overload. --- diff --git a/tests/tests.h b/tests/tests.h index 08a124f546..fb5daf57d1 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -779,6 +779,14 @@ operator<<(LogStream &out, const std::vector &v) return out; } +LogStream & +operator<<(LogStream &out, const std::vector &v) +{ + for (std::size_t i = 0; i < v.size(); ++i) + out << v[i] << (i == v.size() - 1 ? "" : " "); + return out; +} + LogStream & operator<<(LogStream &out, const std::vector &v) {