Always debug-break non-inline

This commit is contained in:
Phil Nash committed 2017-11-23 19:14:26 +00:00
1 parent 8141a7836f
commit 9329d97a43
4 files changed
+22 -38

No files matched your search

+4 -2
View File
@@ -297,11 +297,13 @@ namespace Catch {
// Under CATCH_CONFIG_FAST_COMPILE, unexpected exceptions under REQUIRE assertions
// are reported without translation at the point of origin.
if (m_shouldReportUnexpected) {
AssertionHandler
AssertionHandler handler
( m_lastAssertionInfo.macroName,
m_lastAssertionInfo.lineInfo,
m_lastAssertionInfo.capturedExpression,
m_lastAssertionInfo.resultDisposition ).useActiveException();
m_lastAssertionInfo.resultDisposition );
handler.useActiveException();
handler.setCompleted();
}
}
m_testCaseTracker->close();