mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d1
.
This commit is contained in:
parent
8a21491d86
commit
68580d5a8d
31 changed files with 46 additions and 42 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>> s_map;
|
||||
static auto s_map = AK::make_singleton<Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>>();
|
||||
|
||||
Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>& shared_buffers()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue