mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 10:18:51 +00:00
AK: Revert Eternal<T> for now since it doesn't work as intended.
This commit is contained in:
parent
fb6dc5350d
commit
bcc00857a4
Notes:
sideshowbarker
2024-07-19 14:48:55 +09:00
Author: https://github.com/awesomekling
Commit: bcc00857a4
14 changed files with 51 additions and 67 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue