mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-25 10:45:40 +02:00 
			
		
		
		
	Added missing CATCH_OVERRIDE to CumulativeReporterBase::assertionEnded(). This fixes a warning when building in Xcode 7.2+ with default warning settings.
This commit is contained in:
		| @@ -166,7 +166,7 @@ namespace Catch { | |||||||
|  |  | ||||||
|         virtual void assertionStarting( AssertionInfo const& ) CATCH_OVERRIDE {} |         virtual void assertionStarting( AssertionInfo const& ) CATCH_OVERRIDE {} | ||||||
|  |  | ||||||
|         virtual bool assertionEnded( AssertionStats const& assertionStats ) { |         virtual bool assertionEnded( AssertionStats const& assertionStats ) CATCH_OVERRIDE { | ||||||
|             assert( !m_sectionStack.empty() ); |             assert( !m_sectionStack.empty() ); | ||||||
|             SectionNode& sectionNode = *m_sectionStack.back(); |             SectionNode& sectionNode = *m_sectionStack.back(); | ||||||
|             sectionNode.assertions.push_back( assertionStats ); |             sectionNode.assertions.push_back( assertionStats ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ian Copland
					Ian Copland