mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
Reorganised C+11 feature detection a bit
and added CATCH_CONFIG_CPP11_NULLPTR for VS2015
This commit is contained in:
@@ -101,7 +101,7 @@ namespace Catch
|
||||
}
|
||||
virtual ~AssertionStats();
|
||||
|
||||
# ifdef CATCH_CPP11_OR_GREATER
|
||||
# ifdef CATCH_CONFIG_CPP11_GENERATED_METHODS
|
||||
AssertionStats( AssertionStats const& ) = default;
|
||||
AssertionStats( AssertionStats && ) = default;
|
||||
AssertionStats& operator = ( AssertionStats const& ) = default;
|
||||
@@ -124,7 +124,7 @@ namespace Catch
|
||||
missingAssertions( _missingAssertions )
|
||||
{}
|
||||
virtual ~SectionStats();
|
||||
# ifdef CATCH_CPP11_OR_GREATER
|
||||
# ifdef CATCH_CONFIG_CPP11_GENERATED_METHODS
|
||||
SectionStats( SectionStats const& ) = default;
|
||||
SectionStats( SectionStats && ) = default;
|
||||
SectionStats& operator = ( SectionStats const& ) = default;
|
||||
@@ -151,7 +151,7 @@ namespace Catch
|
||||
{}
|
||||
virtual ~TestCaseStats();
|
||||
|
||||
# ifdef CATCH_CPP11_OR_GREATER
|
||||
# ifdef CATCH_CONFIG_CPP11_GENERATED_METHODS
|
||||
TestCaseStats( TestCaseStats const& ) = default;
|
||||
TestCaseStats( TestCaseStats && ) = default;
|
||||
TestCaseStats& operator = ( TestCaseStats const& ) = default;
|
||||
@@ -179,7 +179,7 @@ namespace Catch
|
||||
{}
|
||||
virtual ~TestGroupStats();
|
||||
|
||||
# ifdef CATCH_CPP11_OR_GREATER
|
||||
# ifdef CATCH_CONFIG_CPP11_GENERATED_METHODS
|
||||
TestGroupStats( TestGroupStats const& ) = default;
|
||||
TestGroupStats( TestGroupStats && ) = default;
|
||||
TestGroupStats& operator = ( TestGroupStats const& ) = default;
|
||||
@@ -201,7 +201,7 @@ namespace Catch
|
||||
{}
|
||||
virtual ~TestRunStats();
|
||||
|
||||
# ifndef CATCH_CPP11_OR_GREATER
|
||||
# ifndef CATCH_CONFIG_CPP11_GENERATED_METHODS
|
||||
TestRunStats( TestRunStats const& _other )
|
||||
: runInfo( _other.runInfo ),
|
||||
totals( _other.totals ),
|
||||
|
Reference in New Issue
Block a user