mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
AK: Revert Eternal<T> for now since it doesn't work as intended.
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#include <LibGUI/GFontDatabase.h>
|
||||
#include <SharedGraphics/Font.h>
|
||||
#include <AK/Eternal.h>
|
||||
#include <dirent.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static GFontDatabase* s_the;
|
||||
|
||||
GFontDatabase& GFontDatabase::the()
|
||||
{
|
||||
static Eternal<GFontDatabase> the;
|
||||
return the;
|
||||
if (!s_the)
|
||||
s_the = new GFontDatabase;
|
||||
return *s_the;
|
||||
}
|
||||
|
||||
GFontDatabase::GFontDatabase()
|
||||
|
||||
Reference in New Issue
Block a user