diff --git a/server/TracyTimelineItemThread.cpp b/server/TracyTimelineItemThread.cpp index 63510e15..95effca9 100644 --- a/server/TracyTimelineItemThread.cpp +++ b/server/TracyTimelineItemThread.cpp @@ -338,7 +338,7 @@ void TimelineItemThread::Preprocess( const TimelineContext& ctx, TaskDispatch& t const auto& locks = m_worker.GetLockMap(); if( !locks.empty() ) { - PreprocessLocks( ctx, locks, m_thread->id, td, visible, yPos ); + PreprocessLocks( ctx, locks, m_thread->id, td, visible ); } } } @@ -855,7 +855,7 @@ static Vector::const_iterator GetNextLockEventShared( const Vector return next; } -void TimelineItemThread::PreprocessLocks( const TimelineContext& ctx, const unordered_flat_map& locks, uint32_t tid, TaskDispatch& td, bool visible, int yPos ) +void TimelineItemThread::PreprocessLocks( const TimelineContext& ctx, const unordered_flat_map& locks, uint32_t tid, TaskDispatch& td, bool visible ) { const auto vStart = ctx.vStart; const auto vEnd = ctx.vEnd; diff --git a/server/TracyTimelineItemThread.hpp b/server/TracyTimelineItemThread.hpp index 813f2a21..a78080c8 100644 --- a/server/TracyTimelineItemThread.hpp +++ b/server/TracyTimelineItemThread.hpp @@ -45,7 +45,7 @@ private: void PreprocessContextSwitches( const TimelineContext& ctx, const ContextSwitch& ctxSwitch, bool visible ); void PreprocessSamples( const TimelineContext& ctx, const Vector& vec, bool visible, int yPos ); void PreprocessMessages( const TimelineContext& ctx, const Vector>& vec, uint64_t tid, bool visible, int yPos ); - void PreprocessLocks( const TimelineContext& ctx, const unordered_flat_map& locks, uint32_t tid, TaskDispatch& td, bool visible, int yPos ); + void PreprocessLocks( const TimelineContext& ctx, const unordered_flat_map& locks, uint32_t tid, TaskDispatch& td, bool visible ); const ThreadData* m_thread; bool m_ghost;