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:
parent
62e517f833
commit
d6f1446e4e
6 changed files with 13 additions and 5 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue