diff options
| author | Phil Nash | 2012-09-20 08:17:52 +0100 |
|---|---|---|
| committer | Phil Nash | 2012-09-20 08:17:52 +0100 |
| commit | 61964881c77b4fed7fdf9b5d4af45f1fc8846c8a (patch) | |
| tree | f797cba942bad21787648a36987c021c78c9dcb4 /include | |
| parent | fc1baac7f591e7d161fb7f2f30db33da51f94cb6 (diff) | |
| download | catch3-61964881c77b4fed7fdf9b5d4af45f1fc8846c8a.tar.gz | |
Added copy ctor to ReporterConfig to get rid of warnings
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_interfaces_reporter.h | 11 | ||||
| -rw-r--r-- | include/internal/catch_tags.h | 14 | ||||
| -rw-r--r-- | include/internal/catch_tags.hpp | 9 |
3 files changed, 34 insertions, 0 deletions
diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h index da3cf79a..58b45a4a 100644 --- a/include/internal/catch_interfaces_reporter.h +++ b/include/internal/catch_interfaces_reporter.h @@ -31,10 +31,21 @@ namespace Catch fullConfig( _fullConfig ) {} + ReporterConfig( const ReporterConfig& other ) + : name( other.name ), + stream( other.stream ), + includeSuccessfulResults( other.includeSuccessfulResults ), + fullConfig( other.fullConfig ) + {} + + std::string name; std::ostream& stream; bool includeSuccessfulResults; ConfigData fullConfig; + + private: + void operator=(const ReporterConfig&); }; class TestCaseInfo; diff --git a/include/internal/catch_tags.h b/include/internal/catch_tags.h new file mode 100644 index 00000000..f07ff62c --- /dev/null +++ b/include/internal/catch_tags.h @@ -0,0 +1,14 @@ +// +// catch_tags.h +// CatchSelfTest +// +// Created by Phil Nash on 19/09/2012. +// +// + +#ifndef __CatchSelfTest__catch_tags__ +#define __CatchSelfTest__catch_tags__ + +#include <iostream> + +#endif /* defined(__CatchSelfTest__catch_tags__) */ diff --git a/include/internal/catch_tags.hpp b/include/internal/catch_tags.hpp new file mode 100644 index 00000000..2a012d8b --- /dev/null +++ b/include/internal/catch_tags.hpp @@ -0,0 +1,9 @@ +// +// catch_tags.hpp +// CatchSelfTest +// +// Created by Phil Nash on 19/09/2012. +// +// + +#include "catch_tags.h" |