Do not explicitly default smfs if all of them are defaulted

This commit is contained in:
Martin Hořeňovský 2020-05-11 00:00:48 +02:00
parent 7c622a79d4
commit a39154e115
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -99,10 +99,6 @@ namespace Catch {
Counts const& _assertions, Counts const& _assertions,
double _durationInSeconds, double _durationInSeconds,
bool _missingAssertions ); bool _missingAssertions );
SectionStats( SectionStats const& ) = default;
SectionStats( SectionStats && ) = default;
SectionStats& operator = ( SectionStats const& ) = default;
SectionStats& operator = ( SectionStats && ) = default;
SectionInfo sectionInfo; SectionInfo sectionInfo;
Counts assertions; Counts assertions;
@ -117,11 +113,6 @@ namespace Catch {
std::string const& _stdErr, std::string const& _stdErr,
bool _aborting ); bool _aborting );
TestCaseStats( TestCaseStats const& ) = default;
TestCaseStats( TestCaseStats && ) = default;
TestCaseStats& operator = ( TestCaseStats const& ) = default;
TestCaseStats& operator = ( TestCaseStats && ) = default;
TestCaseInfo const * testInfo; TestCaseInfo const * testInfo;
Totals totals; Totals totals;
std::string stdOut; std::string stdOut;
@ -135,11 +126,6 @@ namespace Catch {
bool _aborting ); bool _aborting );
TestGroupStats( GroupInfo const& _groupInfo ); TestGroupStats( GroupInfo const& _groupInfo );
TestGroupStats( TestGroupStats const& ) = default;
TestGroupStats( TestGroupStats && ) = default;
TestGroupStats& operator = ( TestGroupStats const& ) = default;
TestGroupStats& operator = ( TestGroupStats && ) = default;
GroupInfo groupInfo; GroupInfo groupInfo;
Totals totals; Totals totals;
bool aborting; bool aborting;
@ -150,11 +136,6 @@ namespace Catch {
Totals const& _totals, Totals const& _totals,
bool _aborting ); bool _aborting );
TestRunStats( TestRunStats const& ) = default;
TestRunStats( TestRunStats && ) = default;
TestRunStats& operator = ( TestRunStats const& ) = default;
TestRunStats& operator = ( TestRunStats && ) = default;
TestRunInfo runInfo; TestRunInfo runInfo;
Totals totals; Totals totals;
bool aborting; bool aborting;