summaryrefslogtreecommitdiff
path: root/Kernel/Locking/LockLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Locking/LockLocation.h')
-rw-r--r--Kernel/Locking/LockLocation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Locking/LockLocation.h b/Kernel/Locking/LockLocation.h
index a0fcf7d9a1..ea040576f8 100644
--- a/Kernel/Locking/LockLocation.h
+++ b/Kernel/Locking/LockLocation.h
@@ -6,6 +6,7 @@
#pragma once
+#include <AK/StdLibExtras.h>
#if LOCK_DEBUG
# include <AK/SourceLocation.h>
#endif
@@ -25,6 +26,9 @@ using LockLocation = SourceLocation;
#else
struct LockLocation {
static constexpr LockLocation current() { return {}; }
+
+private:
+ constexpr LockLocation() = default;
};
#endif