Inline trivial function in AssertionHandler

This commit is contained in:
Martin Hořeňovský 2023-03-12 00:41:25 +01:00
parent 8e5a4b6f70
commit ba94278bdd
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 1 additions and 5 deletions

View File

@ -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 );

View File

@ -59,7 +59,6 @@ namespace Catch {
void handleUnexpectedInflightException();
void complete();
void setCompleted();
// query
auto allowThrows() const -> bool;