Use CATCH_AUTO_PTR in DebugOutStream

This commit is contained in:
Phil Nash 2015-11-23 10:28:13 +00:00
parent ce547c1799
commit 5e0db60443
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#include <streambuf>
#include <ostream>
#include <fstream>
#include <memory>
namespace Catch {
@ -49,7 +50,7 @@ namespace Catch {
class DebugOutStream : public IStream {
std::auto_ptr<StreamBufBase> m_streamBuf;
CATCH_AUTO_PTR( StreamBufBase ) m_streamBuf;
mutable std::ostream m_os;
public:
DebugOutStream();