Bake exception guard into assertion handler flow
This commit is contained in:
1 parent
f052762c11
commit
5323202652
4 files changed
+9
-18
No files matched your search
@@ -36,7 +36,7 @@ namespace Catch {
|
||||
AssertionInfo m_assertionInfo;
|
||||
bool m_shouldDebugBreak = false;
|
||||
bool m_shouldThrow = false;
|
||||
bool m_inExceptionGuard = false;
|
||||
bool m_handled = false;
|
||||
|
||||
public:
|
||||
AssertionHandler
|
||||
@@ -62,8 +62,6 @@ namespace Catch {
|
||||
void reactWithDebugBreak() const;
|
||||
void reactWithoutDebugBreak() const;
|
||||
void useActiveException();
|
||||
void setExceptionGuard();
|
||||
void unsetExceptionGuard();
|
||||
};
|
||||
|
||||
void handleExceptionMatchExpr( AssertionHandler& handler, std::string const& str, StringRef matcherString );
|
||||
|
||||
Reference in new issue
Block a user