diff options
| author | Phil Nash | 2017-08-08 01:08:07 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-08 01:08:07 +0100 |
| commit | 59f9bcf1ed38afc363dbb899e38821a44132589c (patch) | |
| tree | 0a8808c5ee75c3430efdba5e076d8b6c9c74c450 /include/internal/catch_assertionresult.cpp | |
| parent | 5e60050299ace9652c50103b8febbb0e4be67475 (diff) | |
| download | catch3-59f9bcf1ed38afc363dbb899e38821a44132589c.tar.gz | |
Reduced AssertionInfo to a pure record type
Diffstat (limited to 'include/internal/catch_assertionresult.cpp')
| -rw-r--r-- | include/internal/catch_assertionresult.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/internal/catch_assertionresult.cpp b/include/internal/catch_assertionresult.cpp index 63c8b22c..f6bb2cfb 100644 --- a/include/internal/catch_assertionresult.cpp +++ b/include/internal/catch_assertionresult.cpp @@ -14,17 +14,7 @@ namespace Catch { bool DecomposedExpression::isBinaryExpression() const { return false; } - - AssertionInfo::AssertionInfo( char const * _macroName, - SourceLineInfo const& _lineInfo, - char const * _capturedExpression, - ResultDisposition::Flags _resultDisposition) - : macroName( _macroName ), - lineInfo( _lineInfo ), - capturedExpression( _capturedExpression ), - resultDisposition( _resultDisposition ) - {} - + void AssertionResultData::negate( bool parenthesize ) { negated = !negated; parenthesized = parenthesize; @@ -54,8 +44,6 @@ namespace Catch { m_resultData( data ) {} - AssertionResult::~AssertionResult() {} - // Result was a success bool AssertionResult::succeeded() const { return Catch::isOk( m_resultData.resultType ); |