mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
namespace Kernel {
|
||||
|
||||
static u32 s_lastFileSystemID;
|
||||
static auto s_fs_map = AK::make_singleton<HashMap<u32, FS*>>();
|
||||
static AK::Singleton<HashMap<u32, FS*>> s_fs_map;
|
||||
|
||||
static HashMap<u32, FS*>& all_fses()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user