Fix C++11 dependency in TAP reporter

This commit is contained in:
Martin Hořeňovský 2017-02-22 17:04:36 +01:00
parent a8a6b3159d
commit 72b72ca937

View File

@ -22,7 +22,8 @@ namespace Catch {
struct TAPReporter : StreamingReporterBase { struct TAPReporter : StreamingReporterBase {
TAPReporter( ReporterConfig const& _config ) TAPReporter( ReporterConfig const& _config )
: StreamingReporterBase( _config ) : StreamingReporterBase( _config ),
counter(0)
{} {}
virtual ~TAPReporter(); virtual ~TAPReporter();
@ -70,7 +71,7 @@ namespace Catch {
} }
private: private:
size_t counter = 0; size_t counter;
class AssertionPrinter { class AssertionPrinter {
void operator= ( AssertionPrinter const& ); void operator= ( AssertionPrinter const& );
public: public: