Reduced AssertionInfo to a pure record type
This commit is contained in:
parent
5e60050299
commit
59f9bcf1ed
4 changed files with 11 additions and 32 deletions
|
@ -34,7 +34,7 @@ namespace Catch {
|
|||
SourceLineInfo const& lineInfo,
|
||||
char const* capturedExpression,
|
||||
ResultDisposition::Flags resultDisposition )
|
||||
: m_assertionInfo( macroName, lineInfo, capturedExpression, resultDisposition)
|
||||
: m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition }
|
||||
{
|
||||
getCurrentContext().getResultCapture()->assertionStarting( m_assertionInfo );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue