We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::uncaught_exception
1 parent 0927da2 commit 5d0b37eCopy full SHA for 5d0b37e
bin/External/catch.hpp
@@ -7912,7 +7912,7 @@ namespace Catch {
7912
Section::~Section() {
7913
if( m_sectionIncluded ) {
7914
SectionEndInfo endInfo( m_info, m_assertions, m_timer.getElapsedSeconds() );
7915
- if( std::uncaught_exception() )
+ if( std::uncaught_exceptions() )
7916
getResultCapture().sectionEndedEarly( endInfo );
7917
else
7918
getResultCapture().sectionEnded( endInfo );
0 commit comments