Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-02-22 17:04:36 +0100
committerMartin Hořeňovský2017-02-22 17:04:36 +0100
commit72b72ca9379e7d6fa465efcdec67994a61778046 (patch)
treeac6c7115c191c2142141c89e8193085e13ec66a7 /include
parenta8a6b3159d84892edefd298dc2b6f40b859903f8 (diff)
downloadcatch3-72b72ca9379e7d6fa465efcdec67994a61778046.tar.gz
Fix C++11 dependency in TAP reporter
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_tap.hpp5
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: