Fix assert.

This commit is contained in:
Bartosz Taudul 2019-10-25 01:00:32 +02:00
parent 17a51c898e
commit 29c42cc8d7

View File

@ -2772,7 +2772,7 @@ void Worker::InsertLockEvent( LockMap& lockmap, LockEvent* lev, uint64_t thread,
}
else
{
assert( timeline.back().ptr->Time() <= lt );
assert( timeline.back().ptr->Time() <= time );
timeline.push_back_non_empty( { lev } );
UpdateLockCount( lockmap, timeline.size() - 1 );
}