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/FileSystem.cpp | |
parent | 0e69ebbce4585dcb06fc3a5d52114f2a82d80513 (diff) | |
download | serenity-f0906250a181c831508a45434b9f645ff98f33e4.zip |
Kernel: Move Singleton class to AK
Diffstat (limited to 'Kernel/FileSystem/FileSystem.cpp')
-rw-r--r-- | Kernel/FileSystem/FileSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/FileSystem.cpp b/Kernel/FileSystem/FileSystem.cpp index 450f401253..2a96fb6e6c 100644 --- a/Kernel/FileSystem/FileSystem.cpp +++ b/Kernel/FileSystem/FileSystem.cpp @@ -26,19 +26,19 @@ #include <AK/Assertions.h> #include <AK/HashMap.h> +#include <AK/Singleton.h> #include <AK/StringBuilder.h> #include <AK/StringView.h> #include <Kernel/FileSystem/FileSystem.h> #include <Kernel/FileSystem/Inode.h> #include <Kernel/Net/LocalSocket.h> -#include <Kernel/Singleton.h> #include <Kernel/VM/MemoryManager.h> #include <LibC/errno_numbers.h> namespace Kernel { static u32 s_lastFileSystemID; -static auto s_fs_map = make_singleton<HashMap<u32, FS*>>(); +static auto s_fs_map = AK::make_singleton<HashMap<u32, FS*>>(); static HashMap<u32, FS*>& all_fses() { |