diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 726bffc8..5c5a2625 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -12776,12 +12776,12 @@ void View::DrawStatistics() if( start >= min && end <= max ) { const auto zt = end - start; - if ( m_statAccumulationMode == AccumulationMode::SelfOnly) + if( m_statAccumulationMode == AccumulationMode::SelfOnly ) { total += zt - GetZoneChildTimeFast( z ); cnt++; } - else if ( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry(z) ) + else if( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry( z ) ) { total += zt; cnt++; @@ -12823,12 +12823,12 @@ void View::DrawStatistics() if( start >= min && end <= max ) { const auto zt = end - start; - if ( m_statAccumulationMode == AccumulationMode::SelfOnly) + if( m_statAccumulationMode == AccumulationMode::SelfOnly ) { total += zt - GetZoneChildTimeFast( z ); cnt++; } - else if ( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry(z) ) + else if( m_statAccumulationMode == AccumulationMode::AllChildren || !IsZoneReentry( z ) ) { total += zt; cnt++; diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index d13ae43a..cdf91697 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -3934,7 +3934,6 @@ void Worker::AddSourceLocationPayload( uint64_t ptr, const char* data, size_t sz auto res = m_data.sourceLocationZones.emplace( key, SourceLocationZones() ); m_data.srclocZonesLast.first = key; m_data.srclocZonesLast.second = &res.first->second; - #else auto res = m_data.sourceLocationZonesCnt.emplace( key, 0 ); m_data.srclocCntLast.first = key;