mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-16 02:05:38 +02:00
A load more C++11 tweaks - mostly moving initialisations from constructors to inline
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user