Fix initialization order.

This commit is contained in:
Bartosz Taudul 2022-04-26 21:28:26 +02:00
parent 066c266df9
commit c9240c100d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 3 additions and 3 deletions

View File

@ -235,10 +235,10 @@ SourceView::SourceView( GetWindowCallback gwcb )
, m_asmShowSourceLocation( true )
, m_calcInlineStats( true )
, m_atnt( false )
, m_childCalls( false )
, m_childCallList( false )
, m_hwSamples( true )
, m_hwSamplesRelative( true )
, m_childCalls( false )
, m_childCallList( false )
, m_cost( CostType::SampleCount )
, m_showJumps( true )
, m_cpuArch( CpuArchUnknown )

View File

@ -316,9 +316,9 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
, m_executableTime( 0 )
, m_pid( 0 )
, m_samplingPeriod( 0 )
, m_inconsistentSamples( false )
, m_stream( nullptr )
, m_buffer( nullptr )
, m_inconsistentSamples( false )
, m_traceVersion( CurrentVersion )
{
m_data.sourceLocationExpand.push_back( 0 );