mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Kernel: Make File::absolute_path() const.
This commit is contained in:
parent
00de8b9fc4
commit
2dd9ef6863
16 changed files with 16 additions and 16 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public:
|
|||
|
||||
Lock& lock() { return m_lock; }
|
||||
|
||||
virtual String absolute_path(FileDescriptor&) const override;
|
||||
virtual String absolute_path(const FileDescriptor&) const override;
|
||||
|
||||
protected:
|
||||
Socket(int domain, int type, int protocol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue