summaryrefslogtreecommitdiff
path: root/Kernel/Forward.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-30 23:43:37 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-30 23:43:37 +0200
commitf2a152e9304ebd8c564cb730190c6aaf232252b5 (patch)
tree1ab5f9025e6275305bd63db3bfbeb244e686ad7a /Kernel/Forward.h
parent949aef4aef64ce174563c2388f0630be22489b87 (diff)
downloadserenity-f2a152e9304ebd8c564cb730190c6aaf232252b5.zip
Kernel: Simplify the ScopedSpinLock template
We can just templatize the LockType here. This makes my Qt Creator syntax highlighting work again. :^)
Diffstat (limited to 'Kernel/Forward.h')
-rw-r--r--Kernel/Forward.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Kernel/Forward.h b/Kernel/Forward.h
index ee69b17368..da610b6272 100644
--- a/Kernel/Forward.h
+++ b/Kernel/Forward.h
@@ -58,9 +58,11 @@ class Region;
class Scheduler;
class SharedBuffer;
class Socket;
-template <typename BaseType> class SpinLock;
+template<typename BaseType>
+class SpinLock;
class RecursiveSpinLock;
-template <typename BaseType, typename LockType> class ScopedSpinLock;
+template<typename LockType>
+class ScopedSpinLock;
class TCPSocket;
class TTY;
class Thread;