mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Make FileDescription slab-allocated
This commit is contained in:
parent
9fc54ba931
commit
3e973bfe14
Notes:
sideshowbarker
2024-07-19 09:10:08 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3e973bfe145
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class Socket;
|
|||
class TTY;
|
||||
|
||||
class FileDescription : public RefCounted<FileDescription> {
|
||||
MAKE_SLAB_ALLOCATED(FileDescription)
|
||||
public:
|
||||
static NonnullRefPtr<FileDescription> create(Custody&);
|
||||
static NonnullRefPtr<FileDescription> create(File&);
|
||||
|
|
Loading…
Reference in a new issue