A load more C++11 tweaks - mostly moving initialisations from constructors to inline

This commit is contained in:
Phil Nash
2017-04-25 18:56:53 +01:00
parent cc8206f4c3
commit e749724a11
23 changed files with 64 additions and 145 deletions

View File

@@ -21,10 +21,7 @@ namespace Catch {
struct TAPReporter : StreamingReporterBase {
TAPReporter( ReporterConfig const& _config )
: StreamingReporterBase( _config ),
counter(0)
{}
using StreamingReporterBase::StreamingReporterBase;
virtual ~TAPReporter();
@@ -62,7 +59,7 @@ namespace Catch {
}
private:
size_t counter;
size_t counter = 0;
class AssertionPrinter {
void operator= ( AssertionPrinter const& );
public: