From: Jerome Jiang Date: Thu, 8 Nov 2018 05:35:35 +0000 (-0800) Subject: Add operator<< to hadamard test. X-Git-Tag: v1.8.0~161^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ddadc95b0b2688cb68f36b28e086230b5dcad49;p=libvpx Add operator<< to hadamard test. This quiets valgrind warning. Change-Id: I7c5e23ebb91cc67cf93678135b826b2bc8e9db2f --- diff --git a/test/hadamard_test.cc b/test/hadamard_test.cc index 6f9bec07b..f524ed136 100644 --- a/test/hadamard_test.cc +++ b/test/hadamard_test.cc @@ -124,6 +124,10 @@ struct HadamardFuncWithSize { int block_size; }; +std::ostream &operator<<(std::ostream &os, const HadamardFuncWithSize &hfs) { + return os << "block size: " << hfs.block_size; +} + class HadamardTestBase : public ::testing::TestWithParam { public: virtual void SetUp() {