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:
parent
bffcb3e92a
commit
464dc42640
Notes:
sideshowbarker
2024-07-18 07:01:17 +09:00
Author: https://github.com/bgianfo
Commit: 464dc42640
Pull-request: https://github.com/SerenityOS/serenity/pull/9261
Reviewed-by: https://github.com/alimpfard ✅
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