mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
Kernel: Convert lock debug APIs to east const
This commit is contained in:
parent
bffcb3e92a
commit
464dc42640
3 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue