From 4d9ae83abdac43a04ec6901390669bc08659f890 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 10 Dec 2017 22:42:25 +0100 Subject: [PATCH] Fix assert. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 60ac1930..733cd83b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1361,7 +1361,7 @@ void View::UpdateLockCount( LockMap& lockmap, size_t pos ) break; case LockEvent::Type::Obtain: assert( lockCount < std::numeric_limits::max() ); - assert( ( waitList | tbit ) != 0 ); + assert( ( waitList & tbit ) != 0 ); waitList &= ~tbit; lockingThread = tl->thread; lockCount++;