Kernel: Make File::absolute_path() const.

This commit is contained in:
Andreas Kling 2019-06-01 18:56:56 +02:00
parent 00de8b9fc4
commit 2dd9ef6863
Notes: sideshowbarker 2024-07-19 13:48:09 +09:00
16 changed files with 16 additions and 16 deletions
Kernel/FileSystem

View file

@ -41,7 +41,7 @@ KResultOr<Region*> InodeFile::mmap(Process& process, LinearAddress preferred_lad
return region;
}
String InodeFile::absolute_path(FileDescriptor& descriptor) const
String InodeFile::absolute_path(const FileDescriptor& descriptor) const
{
ASSERT_NOT_REACHED();
ASSERT(descriptor.custody());