mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
Kernel: Make File::absolute_path() const.
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user