diff options
author | Tom <tomut@yahoo.com> | 2020-08-21 09:36:51 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-22 10:46:24 +0200 |
commit | f0906250a181c831508a45434b9f645ff98f33e4 (patch) | |
tree | 25c255bbdda2f72f07cbcda96d91cda6a13ba44c /Kernel/FileSystem/Inode.cpp | |
parent | 0e69ebbce4585dcb06fc3a5d52114f2a82d80513 (diff) | |
download | serenity-f0906250a181c831508a45434b9f645ff98f33e4.zip |
Kernel: Move Singleton class to AK
Diffstat (limited to 'Kernel/FileSystem/Inode.cpp')
-rw-r--r-- | Kernel/FileSystem/Inode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/Inode.cpp b/Kernel/FileSystem/Inode.cpp index c136ffc2a0..edfba2eac9 100644 --- a/Kernel/FileSystem/Inode.cpp +++ b/Kernel/FileSystem/Inode.cpp @@ -25,6 +25,7 @@ */ #include <AK/NonnullRefPtrVector.h> +#include <AK/Singleton.h> #include <AK/StringBuilder.h> #include <AK/StringView.h> #include <Kernel/FileSystem/Custody.h> @@ -33,13 +34,12 @@ #include <Kernel/FileSystem/VirtualFileSystem.h> #include <Kernel/KBufferBuilder.h> #include <Kernel/Net/LocalSocket.h> -#include <Kernel/Singleton.h> #include <Kernel/VM/SharedInodeVMObject.h> namespace Kernel { static SpinLock s_all_inodes_lock; -static auto s_list = make_singleton<InlineLinkedList<Inode>>(); +static auto s_list = AK::make_singleton<InlineLinkedList<Inode>>(); InlineLinkedList<Inode>& Inode::all_with_lock() { |