mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
Kernel/DevPtsFS: Add tightly typed DevPtsFSInode::fs()
This commit is contained in:
parent
65c8fa9f91
commit
fc0cd8317a
2 changed files with 4 additions and 3 deletions
|
@ -43,6 +43,9 @@ class DevPtsFSInode final : public Inode {
|
|||
public:
|
||||
virtual ~DevPtsFSInode() override;
|
||||
|
||||
DevPtsFS& fs() { return static_cast<DevPtsFS&>(Inode::fs()); }
|
||||
DevPtsFS const& fs() const { return static_cast<DevPtsFS const&>(Inode::fs()); }
|
||||
|
||||
private:
|
||||
DevPtsFSInode(DevPtsFS&, InodeIndex, SlavePTY*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue