mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-17 02:25:38 +02:00
A load more C++11 tweaks - mostly moving initialisations from constructors to inline
This commit is contained in:
@@ -21,10 +21,7 @@ namespace Catch {
|
||||
|
||||
struct TAPReporter : StreamingReporterBase {
|
||||
|
||||
TAPReporter( ReporterConfig const& _config )
|
||||
: StreamingReporterBase( _config ),
|
||||
counter(0)
|
||||
{}
|
||||
using StreamingReporterBase::StreamingReporterBase;
|
||||
|
||||
virtual ~TAPReporter();
|
||||
|
||||
@@ -62,7 +59,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
private:
|
||||
size_t counter;
|
||||
size_t counter = 0;
|
||||
class AssertionPrinter {
|
||||
void operator= ( AssertionPrinter const& );
|
||||
public:
|
||||
|
Reference in New Issue
Block a user