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

@@ -25,8 +25,7 @@ namespace Catch {
struct TeamCityReporter : StreamingReporterBase {
TeamCityReporter( ReporterConfig const& _config )
: StreamingReporterBase( _config ),
m_headerPrintedForThisSection( false )
: StreamingReporterBase( _config )
{
m_reporterPrefs.shouldRedirectStdOut = true;
}
@@ -198,7 +197,7 @@ namespace Catch {
.setInitialIndent( indent ) ) << "\n";
}
private:
bool m_headerPrintedForThisSection;
bool m_headerPrintedForThisSection = false;
};
#ifdef CATCH_IMPL