mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Inline trivial function in AssertionHandler
This commit is contained in:
parent
8e5a4b6f70
commit
ba94278bdd
@ -38,7 +38,7 @@ namespace Catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AssertionHandler::complete() {
|
void AssertionHandler::complete() {
|
||||||
setCompleted();
|
m_completed = true;
|
||||||
if( m_reaction.shouldDebugBreak ) {
|
if( m_reaction.shouldDebugBreak ) {
|
||||||
|
|
||||||
// If you find your debugger stopping you here then go one level up on the
|
// If you find your debugger stopping you here then go one level up on the
|
||||||
@ -58,9 +58,6 @@ namespace Catch {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void AssertionHandler::setCompleted() {
|
|
||||||
m_completed = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void AssertionHandler::handleUnexpectedInflightException() {
|
void AssertionHandler::handleUnexpectedInflightException() {
|
||||||
m_resultCapture.handleUnexpectedInflightException( m_assertionInfo, Catch::translateActiveException(), m_reaction );
|
m_resultCapture.handleUnexpectedInflightException( m_assertionInfo, Catch::translateActiveException(), m_reaction );
|
||||||
|
@ -59,7 +59,6 @@ namespace Catch {
|
|||||||
void handleUnexpectedInflightException();
|
void handleUnexpectedInflightException();
|
||||||
|
|
||||||
void complete();
|
void complete();
|
||||||
void setCompleted();
|
|
||||||
|
|
||||||
// query
|
// query
|
||||||
auto allowThrows() const -> bool;
|
auto allowThrows() const -> bool;
|
||||||
|
Loading…
Reference in New Issue
Block a user