1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

Everywhere: Replace AK::Singleton => Singleton

This commit is contained in:
Andreas Kling 2021-08-07 21:34:11 +02:00
parent eb60cb156d
commit c94c15d45c
35 changed files with 40 additions and 40 deletions

View file

@ -25,7 +25,7 @@ DevPtsFS::~DevPtsFS()
{
}
static AK::Singleton<HashTable<unsigned>> s_ptys;
static Singleton<HashTable<unsigned>> s_ptys;
bool DevPtsFS::initialize()
{

View file

@ -17,7 +17,7 @@
namespace Kernel {
static AK::Singleton<ProtectedValue<HashTable<FIFO*>>> s_table;
static Singleton<ProtectedValue<HashTable<FIFO*>>> s_table;
static ProtectedValue<HashTable<FIFO*>>& all_fifos()
{

View file

@ -16,7 +16,7 @@
namespace Kernel {
static u32 s_lastFileSystemID;
static AK::Singleton<HashMap<u32, FileSystem*>> s_file_system_map;
static Singleton<HashMap<u32, FileSystem*>> s_file_system_map;
static HashMap<u32, FileSystem*>& all_file_systems()
{

View file

@ -23,7 +23,7 @@
namespace Kernel {
static SpinLock s_all_inodes_lock;
static AK::Singleton<Inode::List> s_list;
static Singleton<Inode::List> s_list;
static Inode::List& all_with_lock()
{

View file

@ -18,7 +18,7 @@
namespace Kernel {
static AK::Singleton<ProcFSComponentRegistry> s_the;
static Singleton<ProcFSComponentRegistry> s_the;
ProcFSComponentRegistry& ProcFSComponentRegistry::the()
{

View file

@ -11,7 +11,7 @@
namespace Kernel {
static AK::Singleton<SysFSComponentRegistry> s_the;
static Singleton<SysFSComponentRegistry> s_the;
SysFSComponentRegistry& SysFSComponentRegistry::the()
{

View file

@ -21,7 +21,7 @@
namespace Kernel {
static AK::Singleton<VirtualFileSystem> s_the;
static Singleton<VirtualFileSystem> s_the;
static constexpr int symlink_recursion_limit { 5 }; // FIXME: increase?
static constexpr int root_mount_flags = MS_NODEV | MS_NOSUID | MS_RDONLY;