summaryrefslogtreecommitdiff
path: root/Kernel/VM/InodeVMObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-22 00:02:34 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-22 09:17:02 +0200
commit9e15708aa08454d6418c256a82ac21597eee20fe (patch)
treec5d15f4c36f7bacd3704ad4f49c169b27cd5ee75 /Kernel/VM/InodeVMObject.h
parent16106695194ced969f5a58cf2729b5ddd4cb2546 (diff)
downloadserenity-9e15708aa08454d6418c256a82ac21597eee20fe.zip
Kernel: Convert VMObject & subclasses to east-const style
Diffstat (limited to 'Kernel/VM/InodeVMObject.h')
-rw-r--r--Kernel/VM/InodeVMObject.h6
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;