mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
Kernel: Use StringView more in Inode and subclasses.
This commit is contained in:
parent
cdb44be703
commit
8258b699db
7 changed files with 14 additions and 14 deletions
|
@ -1047,14 +1047,14 @@ ssize_t ProcFSInode::write_bytes(off_t offset, ssize_t size, const byte* buffer,
|
|||
return 0;
|
||||
}
|
||||
|
||||
KResult ProcFSInode::add_child(InodeIdentifier child_id, const String& name, mode_t)
|
||||
KResult ProcFSInode::add_child(InodeIdentifier child_id, const StringView& name, mode_t)
|
||||
{
|
||||
(void)child_id;
|
||||
(void)name;
|
||||
return KResult(-EPERM);
|
||||
}
|
||||
|
||||
KResult ProcFSInode::remove_child(const String& name)
|
||||
KResult ProcFSInode::remove_child(const StringView& name)
|
||||
{
|
||||
(void)name;
|
||||
return KResult(-EPERM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue