mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
AK: Add Retained<T>, like RetainPtr, but never null.
Also use some Clang attribute wizardry to get a warning for use-after-move.
This commit is contained in:
@@ -166,7 +166,7 @@ ProcFS& ProcFS::the()
|
||||
return *s_the;
|
||||
}
|
||||
|
||||
RetainPtr<ProcFS> ProcFS::create()
|
||||
Retained<ProcFS> ProcFS::create()
|
||||
{
|
||||
return adopt(*new ProcFS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user