Reduce number of places getCurrentRunContext() is called

This commit is contained in:
Phil Nash
2015-11-20 08:31:17 +00:00
parent 6789dfa2ba
commit c70170e904
9 changed files with 32 additions and 15 deletions

View File

@@ -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 {