Fixed an issue on some compilers with implicit conversion from nullptr to Ptr

- also cleaned up some warnings to do with CATCH_NULL
This commit is contained in:
Phil Nash committed 2015-07-03 18:27:36 +01:00
1 parent 62e517f833
commit d6f1446e4e
6 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ namespace Catch {
virtual ~RunContext() {
m_reporter->testRunEnded( TestRunStats( m_runInfo, m_totals, aborting() ) );
m_context.setRunner( m_prevRunner );
m_context.setConfig( CATCH_NULL );
m_context.setConfig( Ptr<IConfig const>() );
m_context.setResultCapture( m_prevResultCapture );
m_context.setConfig( m_prevConfig );
}