Manual cherry-pick from #1111

This hsould merge still-valid piece of #1111 into master.
This commit is contained in:
Martin Hořeňovský committed 2017-12-09 20:17:47 +01:00
1 parent 0cf05d54a6
commit a7a9ee5552
8 files changed
+13 -15

No files matched your search

+6 -1
View File
@@ -52,7 +52,12 @@ namespace Catch {
SourceLineInfo const& lineInfo,
StringRef capturedExpression,
ResultDisposition::Flags resultDisposition );
~AssertionHandler();
~AssertionHandler() {
if ( !m_completed ) {
m_resultCapture.handleIncomplete( m_assertionInfo )
}
}
template<typename T>
void handleExpr( ExprLhs<T> const& expr ) {