mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:35:07 +00:00
Kernel: Move Singleton class to AK
This commit is contained in:
parent
0e69ebbce4
commit
f0906250a1
31 changed files with 87 additions and 71 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue