mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -269,7 +269,7 @@ ErrorOr<NonnullRefPtr<Inode>> TmpFSInode::create_child(StringView name, mode_t m
|
|||
return child;
|
||||
}
|
||||
|
||||
ErrorOr<void> TmpFSInode::add_child(Inode& child, StringView const& name, mode_t)
|
||||
ErrorOr<void> TmpFSInode::add_child(Inode& child, StringView name, mode_t)
|
||||
{
|
||||
VERIFY(is_directory());
|
||||
VERIFY(child.fsid() == fsid());
|
||||
|
@ -289,7 +289,7 @@ ErrorOr<void> TmpFSInode::add_child(Inode& child, StringView const& name, mode_t
|
|||
return {};
|
||||
}
|
||||
|
||||
ErrorOr<void> TmpFSInode::remove_child(StringView const& name)
|
||||
ErrorOr<void> TmpFSInode::remove_child(StringView name)
|
||||
{
|
||||
MutexLocker locker(m_inode_lock);
|
||||
VERIFY(is_directory());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue