mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
AK: Revert Eternal<T> for now since it doesn't work as intended.
This commit is contained in:
parent
fb6dc5350d
commit
bcc00857a4
14 changed files with 51 additions and 67 deletions
|
@ -1,10 +1,11 @@
|
|||
#include <WindowServer/WSClipboard.h>
|
||||
#include <AK/Eternal.h>
|
||||
|
||||
WSClipboard& WSClipboard::the()
|
||||
{
|
||||
static Eternal<WSClipboard> the;
|
||||
return the;
|
||||
static WSClipboard* s_the;
|
||||
if (!s_the)
|
||||
s_the = new WSClipboard;
|
||||
return *s_the;
|
||||
}
|
||||
|
||||
WSClipboard::WSClipboard()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue