File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,10 +248,7 @@ class TestFixture : public ErrorLogger {
248248 static std::size_t runTests (const options& args);
249249};
250250
251- // TODO: fix these
252- // NOLINTNEXTLINE(readability-redundant-declaration)
253251extern std::ostringstream errout;
254- // NOLINTNEXTLINE(readability-redundant-declaration)
255252extern std::ostringstream output;
256253
257254// TODO: most asserts do not actually assert i.e. do not return
Original file line number Diff line number Diff line change 2121#include < sstream>
2222#include < string>
2323
24- // NOLINTNEXTLINE(readability-redundant-declaration) - TODO: fix this
25- extern std::ostringstream errout;
26- // NOLINTNEXTLINE(readability-redundant-declaration) - TODO: fix this
27- extern std::ostringstream output;
2824/* *
2925 * @brief Utility class for capturing cout and cerr to ostringstream buffers
3026 * for later use. Uses RAII to stop redirection when the object goes out of
@@ -50,9 +46,6 @@ class RedirectOutputError {
5046 ~RedirectOutputError () {
5147 std::cout.rdbuf (_oldCout); // restore cout's original streambuf
5248 std::cerr.rdbuf (_oldCerr); // restore cerrs's original streambuf
53-
54- errout << _err.str ();
55- output << _out.str ();
5649 }
5750
5851 /* * Return what would be printed to cout. See also clearOutput() */
You can’t perform that action at this time.
0 commit comments