summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r--Kernel/Thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h
index 3609ecbc8f..4d8989deb3 100644
--- a/Kernel/Thread.h
+++ b/Kernel/Thread.h
@@ -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);