catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Switched remaining std::auto_ptrs to use CATCH_AUTO_PTR
- Commit
a74d760d7454119e281c870393296b01cb495d5f- Author
- Phil Nash ·
- Parents
f666f5f0aef1
Changes
include/internal/catch_config.hpp | 2 +- include/internal/catch_stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/internal/catch_config.hpp b/include/internal/catch_config.hpp index 2665f474..72b0f6c7 100644 --- a/include/internal/catch_config.hpp +++ b/include/internal/catch_config.hpp @@ -151,7 +151,7 @@ namespace Catch { } ConfigData m_data; - std::auto_ptr<IStream const> m_stream; + CATCH_AUTO_PTR( IStream const ) m_stream; TestSpec m_testSpec; }; diff --git a/include/internal/catch_stream.h b/include/internal/catch_stream.h index 5f22ad67..1bf5ee18 100644 --- a/include/internal/catch_stream.h +++ b/include/internal/catch_stream.h @@ -49,7 +49,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();