mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-14 02:46:57 +02:00
Kernel: Use StringView more in Inode and subclasses.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:40:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8258b699dbe
@@ -262,14 +262,14 @@ ssize_t SynthFSInode::write_bytes(off_t offset, ssize_t size, const byte* buffer
|
||||
return 0;
|
||||
}
|
||||
|
||||
KResult SynthFSInode::add_child(InodeIdentifier child_id, const String& name, mode_t)
|
||||
KResult SynthFSInode::add_child(InodeIdentifier child_id, const StringView& name, mode_t)
|
||||
{
|
||||
(void)child_id;
|
||||
(void)name;
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
KResult SynthFSInode::remove_child(const String& name)
|
||||
KResult SynthFSInode::remove_child(const StringView& name)
|
||||
{
|
||||
(void)name;
|
||||
ASSERT_NOT_REACHED();
|
||||
|
||||
Reference in New Issue
Block a user