diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-22 00:02:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-22 09:17:02 +0200 |
commit | 9e15708aa08454d6418c256a82ac21597eee20fe (patch) | |
tree | c5d15f4c36f7bacd3704ad4f49c169b27cd5ee75 /Kernel/VM/InodeVMObject.h | |
parent | 16106695194ced969f5a58cf2729b5ddd4cb2546 (diff) | |
download | serenity-9e15708aa08454d6418c256a82ac21597eee20fe.zip |
Kernel: Convert VMObject & subclasses to east-const style
Diffstat (limited to 'Kernel/VM/InodeVMObject.h')
-rw-r--r-- | Kernel/VM/InodeVMObject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/VM/InodeVMObject.h b/Kernel/VM/InodeVMObject.h index 443a28e132..63fee76f0e 100644 --- a/Kernel/VM/InodeVMObject.h +++ b/Kernel/VM/InodeVMObject.h @@ -17,7 +17,7 @@ public: virtual ~InodeVMObject() override; Inode& inode() { return *m_inode; } - const Inode& inode() const { return *m_inode; } + Inode const& inode() const { return *m_inode; } size_t amount_dirty() const; size_t amount_clean() const; @@ -29,9 +29,9 @@ public: protected: explicit InodeVMObject(Inode&, size_t); - explicit InodeVMObject(const InodeVMObject&); + explicit InodeVMObject(InodeVMObject const&); - InodeVMObject& operator=(const InodeVMObject&) = delete; + InodeVMObject& operator=(InodeVMObject const&) = delete; InodeVMObject& operator=(InodeVMObject&&) = delete; InodeVMObject(InodeVMObject&&) = delete; |