Inline trivial function in AssertionHandler

This commit is contained in:
Martin Hořeňovský committed 2023-03-12 00:41:25 +01:00
1 parent 8e5a4b6f70
commit ba94278bdd
2 files changed
+1 -5

No files matched your search

@@ -38,7 +38,7 @@ namespace Catch {
}
void AssertionHandler::complete() {
setCompleted();
m_completed = true;
if( m_reaction.shouldDebugBreak ) {
// If you find your debugger stopping you here then go one level up on the
@@ -58,9 +58,6 @@ namespace Catch {
#endif
}
}
void AssertionHandler::setCompleted() {
m_completed = true;
}
void AssertionHandler::handleUnexpectedInflightException() {
m_resultCapture.handleUnexpectedInflightException( m_assertionInfo, Catch::translateActiveException(), m_reaction );