Kernel: Switch Custody to east-const style

This commit is contained in:
Andreas Kling 2021-07-11 00:51:38 +02:00
commit 7a4e6257b7
Notes: sideshowbarker 2024-07-18 09:22:00 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -26,9 +26,9 @@ public:
~Custody();
Custody* parent() { return m_parent.ptr(); }
const Custody* parent() const { return m_parent.ptr(); }
Custody const* parent() const { return m_parent.ptr(); }
Inode& inode() { return *m_inode; }
const Inode& inode() const { return *m_inode; }
Inode const& inode() const { return *m_inode; }
StringView name() const { return m_name->view(); }
OwnPtr<KString> try_create_absolute_path() const;
String absolute_path() const;