diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-30 23:43:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-30 23:43:37 +0200 |
commit | f2a152e9304ebd8c564cb730190c6aaf232252b5 (patch) | |
tree | 1ab5f9025e6275305bd63db3bfbeb244e686ad7a /Kernel/Forward.h | |
parent | 949aef4aef64ce174563c2388f0630be22489b87 (diff) | |
download | serenity-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.h | 6 |
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; |