mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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:
parent
0b957ed2b1
commit
2cfcbdc735
Notes:
sideshowbarker
2024-07-19 15:38:07 +09:00
Author: https://github.com/awesomekling
Commit: 2cfcbdc735
31 changed files with 214 additions and 104 deletions
|
@ -149,7 +149,7 @@ VFS* vfs;
|
|||
|
||||
new BXVGADevice;
|
||||
|
||||
auto new_procfs = ProcFS::create();
|
||||
Retained<ProcFS> new_procfs = ProcFS::create();
|
||||
new_procfs->initialize();
|
||||
|
||||
auto devptsfs = DevPtsFS::create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue