mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
No need for id in LockMap.
This commit is contained in:
parent
a99fc01707
commit
87ae5eccde
@ -461,7 +461,7 @@ void View::ProcessLockAnnounce( const QueueLockAnnounce& ev )
|
||||
auto it = m_pendingLocks.find( ev.id );
|
||||
|
||||
std::unique_lock<std::mutex> 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() )
|
||||
{
|
||||
|
@ -46,7 +46,6 @@ private:
|
||||
|
||||
struct LockMap
|
||||
{
|
||||
uint64_t id;
|
||||
uint64_t srcloc;
|
||||
Vector<LockEvent*> timeline;
|
||||
std::unordered_set<uint64_t> threads;
|
||||
|
Loading…
Reference in New Issue
Block a user