Added copy ctor to ReporterConfig to get rid of warnings

This commit is contained in:
Phil Nash
2012-09-20 08:17:52 +01:00
parent fc1baac7f5
commit 61964881c7
5 changed files with 57 additions and 0 deletions

View File

@@ -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;