diff options
Diffstat (limited to 'Kernel/VM/VMObject.h')
-rw-r--r-- | Kernel/VM/VMObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VM/VMObject.h b/Kernel/VM/VMObject.h index 0f7b9c4fea..6d69ac06ec 100644 --- a/Kernel/VM/VMObject.h +++ b/Kernel/VM/VMObject.h @@ -30,7 +30,7 @@ public: const Inode* inode() const { return m_inode.ptr(); } size_t inode_offset() const { return m_inode_offset; } - String name() const { return m_name; } + const String& name() const { return m_name; } void set_name(const String& name) { m_name = name; } size_t page_count() const { return m_size / PAGE_SIZE; } |