diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 05b6487a..b8ed6e3f 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -352,9 +352,9 @@ private: tracy_force_inline void CalcZoneTimeData( unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ); tracy_force_inline void CalcZoneTimeData( const ContextSwitch* ctx, unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ); template - void CalcZoneTimeDataImpl( const V& children, unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ); + void CalcZoneTimeDataImpl( const V& children, unordered_flat_map& data, int64_t& ztime ); template - void CalcZoneTimeDataImpl( const V& children, const ContextSwitch* ctx, unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ); + void CalcZoneTimeDataImpl( const V& children, const ContextSwitch* ctx, unordered_flat_map& data, int64_t& ztime ); void SetPlaybackFrame( uint32_t idx ); bool Save( const char* fn, FileWrite::Compression comp, int zlevel, bool buildDict ); diff --git a/server/TracyView_ZoneInfo.cpp b/server/TracyView_ZoneInfo.cpp index 4683a05d..9693ee0d 100644 --- a/server/TracyView_ZoneInfo.cpp +++ b/server/TracyView_ZoneInfo.cpp @@ -32,16 +32,16 @@ void View::CalcZoneTimeData( unordered_flat_map& data, in const auto& children = m_worker.GetZoneChildren( zone.Child() ); if( children.is_magic() ) { - CalcZoneTimeDataImpl>( *(Vector*)( &children ), data, ztime, zone ); + CalcZoneTimeDataImpl>( *(Vector*)( &children ), data, ztime ); } else { - CalcZoneTimeDataImpl>( children, data, ztime, zone ); + CalcZoneTimeDataImpl>( children, data, ztime ); } } template -void View::CalcZoneTimeDataImpl( const V& children, unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ) +void View::CalcZoneTimeDataImpl( const V& children, unordered_flat_map& data, int64_t& ztime ) { Adapter a; if( m_timeDist.exclusiveTime ) @@ -78,16 +78,16 @@ void View::CalcZoneTimeData( const ContextSwitch* ctx, unordered_flat_map>( *(Vector*)( &children ), ctx, data, ztime, zone ); + CalcZoneTimeDataImpl>( *(Vector*)( &children ), ctx, data, ztime ); } else { - CalcZoneTimeDataImpl>( children, ctx, data, ztime, zone ); + CalcZoneTimeDataImpl>( children, ctx, data, ztime ); } } template -void View::CalcZoneTimeDataImpl( const V& children, const ContextSwitch* ctx, unordered_flat_map& data, int64_t& ztime, const ZoneEvent& zone ) +void View::CalcZoneTimeDataImpl( const V& children, const ContextSwitch* ctx, unordered_flat_map& data, int64_t& ztime ) { Adapter a; if( m_timeDist.exclusiveTime )