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
1 changed files with 3 additions and 2 deletions

View File

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