mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
Kernel: Make FileDescription slab-allocated
This commit is contained in:
parent
9fc54ba931
commit
3e973bfe14
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…
Add table
Add a link
Reference in a new issue