1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:15:06 +00:00

Some coding style fixes. I'm getting more comfortable with this style.

This commit is contained in:
Andreas Kling 2018-12-03 00:20:00 +01:00
parent 7d13432b55
commit 407bb3e76e
13 changed files with 207 additions and 207 deletions

View file

@ -40,7 +40,7 @@ public:
InodeIdentifier inode;
const InodeMetadata& metadata() const;
bool inUse() const { return inode.isValid() || m_characterDevice; }
bool inUse() const { return inode.is_valid() || m_characterDevice; }
bool isCharacterDevice() const { return m_characterDevice; }
CharacterDevice* characterDevice() { return m_characterDevice; }
@ -49,8 +49,8 @@ public:
void retain();
void release();
FS* fileSystem() { return inode.fileSystem(); }
const FS* fileSystem() const { return inode.fileSystem(); }
FS* fileSystem() { return inode.fs(); }
const FS* fileSystem() const { return inode.fs(); }
VFS* vfs() { return m_vfs; }
const VFS* vfs() const { return m_vfs; }