mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
AK: Get rid of make_singleton function
Just default the InitFunction template argument.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static auto s_loopback = AK::make_singleton<LoopbackAdapter>();
|
||||
static AK::Singleton<LoopbackAdapter> s_loopback;
|
||||
|
||||
LoopbackAdapter& LoopbackAdapter::the()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user