1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 01:54:57 +00:00

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()));
}