mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	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:
		| @@ -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 ); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash