mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-06 21:45:29 +00:00
AK: Revert Eternal<T> for now since it doesn't work as intended.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#include <LibGUI/GDesktop.h>
|
||||
#include <LibGUI/GEventLoop.h>
|
||||
#include <AK/Eternal.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
GDesktop& GDesktop::the()
|
||||
{
|
||||
static Eternal<GDesktop> the;
|
||||
return the;
|
||||
static GDesktop* the;
|
||||
if (!the)
|
||||
the = new GDesktop;
|
||||
return *the;
|
||||
}
|
||||
|
||||
GDesktop::GDesktop()
|
||||
|
||||
Reference in New Issue
Block a user