diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c77b494a..c71dcc20 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -461,7 +461,7 @@ void View::ProcessLockAnnounce( const QueueLockAnnounce& ev ) auto it = m_pendingLocks.find( ev.id ); std::unique_lock lock( m_lock ); - auto& lockmap = m_lockMap.emplace( ev.id, LockMap { ev.id, ev.srcloc } ).first->second; + auto& lockmap = m_lockMap.emplace( ev.id, LockMap { ev.srcloc } ).first->second; if( it != m_pendingLocks.end() ) { diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 0460e846..f71aa673 100755 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -46,7 +46,6 @@ private: struct LockMap { - uint64_t id; uint64_t srcloc; Vector timeline; std::unordered_set threads;