From 5e0db60443e666b02c30728ab275dc52e328d98f Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 23 Nov 2015 10:28:13 +0000 Subject: [PATCH] Use CATCH_AUTO_PTR in DebugOutStream --- include/internal/catch_stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/internal/catch_stream.h b/include/internal/catch_stream.h index 5f22ad67..d8deebab 100644 --- a/include/internal/catch_stream.h +++ b/include/internal/catch_stream.h @@ -15,6 +15,7 @@ #include #include #include +#include namespace Catch { @@ -49,7 +50,7 @@ namespace Catch { class DebugOutStream : public IStream { - std::auto_ptr m_streamBuf; + CATCH_AUTO_PTR( StreamBufBase ) m_streamBuf; mutable std::ostream m_os; public: DebugOutStream();