Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_assertionresult.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-08-08 01:08:07 +0100
committerPhil Nash2017-08-08 01:08:07 +0100
commit59f9bcf1ed38afc363dbb899e38821a44132589c (patch)
tree0a8808c5ee75c3430efdba5e076d8b6c9c74c450 /include/internal/catch_assertionresult.cpp
parent5e60050299ace9652c50103b8febbb0e4be67475 (diff)
downloadcatch3-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.cpp14
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 );