# HG changeset patch # User Chris Cannam # Date 1541776921 0 # Node ID cfcfec216c214aa5bbc35684cee983ae1a62b6dc # Parent f04038819c2613a821931a6b3abd0effdc5e2cd8 Fix win32 build annoyances diff -r f04038819c26 -r cfcfec216c21 base/test/TestMovingMedian.h --- a/base/test/TestMovingMedian.h Thu Nov 08 15:02:30 2018 +0000 +++ b/base/test/TestMovingMedian.h Fri Nov 09 15:22:01 2018 +0000 @@ -33,18 +33,20 @@ void checkExpected(const vector &output, const vector &expected) { if (output.size() != expected.size()) { - cerr << "ERROR: output array size " << output.size() - << " differs from expected size " << expected.size() << endl; + std::cerr << "ERROR: output array size " << output.size() + << " differs from expected size " << expected.size() + << std::endl; } for (int i = 0; i < int(output.size()); ++i) { if (output[i] != expected[i]) { - cerr << "ERROR: Value at index " << i - << " in output array differs from expected" << endl; - cerr << "Output: "; - for (auto v: output) cerr << v << " "; - cerr << "\nExpected: "; - for (auto v: expected) cerr << v << " "; - cerr << endl; + std::cerr << "ERROR: Value at index " << i + << " in output array differs from expected" + << std::endl; + std::cerr << "Output: "; + for (auto v: output) std::cerr << v << " "; + std::cerr << "\nExpected: "; + for (auto v: expected) std::cerr << v << " "; + std::cerr << std::endl; break; } }