summaryrefslogtreecommitdiff
path: root/Kernel/Devices/Device.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-01 18:56:56 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-01 18:56:56 +0200
commit2dd9ef6863f819dd5ca968fa93d425afc20fc0a2 (patch)
treec1bcfb90da3d5d8f78614eba6bdbe1b46eb3a56a /Kernel/Devices/Device.h
parent00de8b9fc4af0291fff78c50cfc2e44d157e6058 (diff)
downloadserenity-2dd9ef6863f819dd5ca968fa93d425afc20fc0a2.zip
Kernel: Make File::absolute_path() const.
Diffstat (limited to 'Kernel/Devices/Device.h')
-rw-r--r--Kernel/Devices/Device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/Device.h b/Kernel/Devices/Device.h
index ce0b407aa7..93817896e8 100644
--- a/Kernel/Devices/Device.h
+++ b/Kernel/Devices/Device.h
@@ -43,7 +43,7 @@ public:
unsigned major() const { return m_major; }
unsigned minor() const { return m_minor; }
- virtual String absolute_path(FileDescriptor&) const override;
+ virtual String absolute_path(const FileDescriptor&) const override;
uid_t uid() const { return m_uid; }
uid_t gid() const { return m_gid; }