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
16 changed files with 16 additions and 16 deletions

View File

@@ -142,7 +142,7 @@ static const char* to_string(SocketRole role)
}
}
String Socket::absolute_path(FileDescriptor& descriptor) const
String Socket::absolute_path(const FileDescriptor& descriptor) const
{
return String::format("socket:%x (role: %s)", this, to_string(descriptor.socket_role()));
}