mirror of https://github.com/catchorg/Catch2.git
Added copy ctor to ReporterConfig to get rid of warnings
This commit is contained in:
parent
fc1baac7f5
commit
61964881c7
|
@ -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;
|
||||
|
|
|
@ -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__) */
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// catch_tags.hpp
|
||||
// CatchSelfTest
|
||||
//
|
||||
// Created by Phil Nash on 19/09/2012.
|
||||
//
|
||||
//
|
||||
|
||||
#include "catch_tags.h"
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// catch_tags.cpp
|
||||
// CatchSelfTest
|
||||
//
|
||||
// Created by Phil Nash on 19/09/2012.
|
||||
//
|
||||
//
|
||||
|
||||
#include "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__) */
|
Loading…
Reference in New Issue