Manual cherry-pick from #1111

This hsould merge still-valid piece of #1111 into master.
This commit is contained in:
Martin Hořeňovský
2017-12-09 20:17:47 +01:00
parent 0cf05d54a6
commit a7a9ee5552
8 changed files with 13 additions and 15 deletions
@@ -59,11 +59,6 @@ namespace Catch {
m_resultCapture( getResultCapture() )
{}
AssertionHandler::~AssertionHandler() {
if ( !m_completed )
m_resultCapture.handleIncomplete( m_assertionInfo );
}
void AssertionHandler::handleExpr( ITransientExpression const& expr ) {
m_resultCapture.handleExpr( m_assertionInfo, expr, m_reaction );
}