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();