Always debug-break non-inline

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

View file

@ -36,7 +36,7 @@ namespace Catch {
AssertionInfo m_assertionInfo;
bool m_shouldDebugBreak = false;
bool m_shouldThrow = false;
bool m_handled = false;
bool m_completed = false;
public:
AssertionHandler
@ -57,11 +57,9 @@ namespace Catch {
void handle( ResultWas::OfType resultType, ITransientExpression const* expr, bool negated );
void handle( AssertionResultData const& resultData, ITransientExpression const* expr );
auto shouldDebugBreak() const -> bool { return m_shouldDebugBreak; }
auto allowThrows() const -> bool;
void reactWithDebugBreak() const;
void reactWithoutDebugBreak() const;
void complete();
void setCompleted();
void useActiveException();
};