mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix kernel refcounted classes without virtual destructor.
This commit is contained in:
parent
33b9417a25
commit
66481bef39
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class DescriptorTable : public Refcountable
|
|||
{
|
||||
public:
|
||||
DescriptorTable();
|
||||
~DescriptorTable();
|
||||
virtual ~DescriptorTable();
|
||||
Ref<DescriptorTable> Fork();
|
||||
Ref<Descriptor> Get(int index);
|
||||
int Allocate(Ref<Descriptor> desc, int flags, int min_index = 0);
|
||||
|
|
|
@ -45,7 +45,7 @@ class MountTable : public Refcountable
|
|||
{
|
||||
public:
|
||||
MountTable();
|
||||
~MountTable();
|
||||
virtual ~MountTable();
|
||||
Ref<MountTable> Fork();
|
||||
bool AddMount(ino_t ino, dev_t dev, Ref<Inode> inode);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue