1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

Kernel: Convert lock debug APIs to east const

This commit is contained in:
Brian Gianforcaro 2021-08-07 04:58:07 -07:00 committed by Andreas Kling
parent bffcb3e92a
commit 464dc42640
Notes: sideshowbarker 2024-07-18 07:01:17 +09:00
3 changed files with 8 additions and 8 deletions

View file

@ -1150,7 +1150,7 @@ public:
RecursiveSpinLock& get_lock() const { return m_lock; }
#if LOCK_DEBUG
void holding_lock(Mutex& lock, int refs_delta, const LockLocation& location)
void holding_lock(Mutex& lock, int refs_delta, LockLocation const& location)
{
VERIFY(refs_delta != 0);
m_holding_locks.fetch_add(refs_delta, AK::MemoryOrder::memory_order_relaxed);