mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix PipeNode destructor not being virtual.
This commit is contained in:
parent
e259e8ae52
commit
86c5bc52b3
1 changed files with 4 additions and 2 deletions
|
@ -463,12 +463,14 @@ class PipeNode : public AbstractInode
|
|||
{
|
||||
public:
|
||||
PipeNode(dev_t dev, uid_t owner, gid_t group, mode_t mode);
|
||||
~PipeNode();
|
||||
bool Connect(PipeNode* destination);
|
||||
virtual ~PipeNode();
|
||||
virtual ssize_t read(ioctx_t* ctx, uint8_t* buf, size_t count);
|
||||
virtual ssize_t write(ioctx_t* ctx, const uint8_t* buf, size_t count);
|
||||
virtual int poll(ioctx_t* ctx, PollNode* node);
|
||||
|
||||
public:
|
||||
bool Connect(PipeNode* destination);
|
||||
|
||||
private:
|
||||
PipeEndpoint endpoint;
|
||||
|
||||
|
|
Loading…
Reference in a new issue