mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
AK: Revert Eternal<T> for now since it doesn't work as intended.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#include <Kernel/Net/LoopbackAdapter.h>
|
||||
#include <AK/Eternal.h>
|
||||
|
||||
LoopbackAdapter& LoopbackAdapter::the()
|
||||
{
|
||||
static Eternal<LoopbackAdapter> the;
|
||||
return the;
|
||||
static LoopbackAdapter* the;
|
||||
if (!the)
|
||||
the = new LoopbackAdapter;
|
||||
return *the;
|
||||
}
|
||||
|
||||
LoopbackAdapter::LoopbackAdapter()
|
||||
|
||||
Reference in New Issue
Block a user