mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Fix assert.
This commit is contained in:
parent
398eecbb94
commit
4d9ae83abd
@ -1361,7 +1361,7 @@ void View::UpdateLockCount( LockMap& lockmap, size_t pos )
|
|||||||
break;
|
break;
|
||||||
case LockEvent::Type::Obtain:
|
case LockEvent::Type::Obtain:
|
||||||
assert( lockCount < std::numeric_limits<uint8_t>::max() );
|
assert( lockCount < std::numeric_limits<uint8_t>::max() );
|
||||||
assert( ( waitList | tbit ) != 0 );
|
assert( ( waitList & tbit ) != 0 );
|
||||||
waitList &= ~tbit;
|
waitList &= ~tbit;
|
||||||
lockingThread = tl->thread;
|
lockingThread = tl->thread;
|
||||||
lockCount++;
|
lockCount++;
|
||||||
|
Loading…
Reference in New Issue
Block a user