mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
Kernel: Add distinct InodeIndex type
Use the DistinctNumeric mechanism to make InodeIndex a strongly typed integer type.
This commit is contained in:
parent
c8a90a31b6
commit
e44c1792a7
Notes:
sideshowbarker
2024-07-18 22:24:41 +09:00
Author: https://github.com/awesomekling
Commit: e44c1792a7
17 changed files with 63 additions and 56 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue