mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
Kernel: Add distinct InodeIndex type
Use the DistinctNumeric mechanism to make InodeIndex a strongly typed integer type.
This commit is contained in:
@@ -171,7 +171,7 @@ class Plan9FSInode final : public Inode {
|
||||
public:
|
||||
virtual ~Plan9FSInode() override;
|
||||
|
||||
u32 fid() const { return index(); }
|
||||
u32 fid() const { return index().value(); }
|
||||
|
||||
// ^Inode
|
||||
virtual InodeMetadata metadata() const override;
|
||||
|
||||
Reference in New Issue
Block a user