mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-23 13:05:39 +02:00
Reduce number of places getCurrentRunContext() is called
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct IRunContext;
|
||||
struct TestFailureException{};
|
||||
|
||||
template<typename T> class ExpressionLhs;
|
||||
@@ -77,6 +78,7 @@ namespace Catch {
|
||||
bool allowThrows() const;
|
||||
|
||||
private:
|
||||
IRunContext& m_runContext;
|
||||
AssertionInfo m_assertionInfo;
|
||||
AssertionResultData m_data;
|
||||
struct ExprComponents {
|
||||
|
Reference in New Issue
Block a user