diff options
| author | Martin Hořeňovský | 2017-02-22 17:04:36 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-02-22 17:04:36 +0100 |
| commit | 72b72ca9379e7d6fa465efcdec67994a61778046 (patch) | |
| tree | ac6c7115c191c2142141c89e8193085e13ec66a7 /include | |
| parent | a8a6b3159d84892edefd298dc2b6f40b859903f8 (diff) | |
| download | catch3-72b72ca9379e7d6fa465efcdec67994a61778046.tar.gz | |
Fix C++11 dependency in TAP reporter
Diffstat (limited to 'include')
| -rw-r--r-- | include/reporters/catch_reporter_tap.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/reporters/catch_reporter_tap.hpp b/include/reporters/catch_reporter_tap.hpp index a82d779f..16e8a7fe 100644 --- a/include/reporters/catch_reporter_tap.hpp +++ b/include/reporters/catch_reporter_tap.hpp @@ -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: |