mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
Kernel: Convert Inode event APIs to use StringViews instead of Strings
These APIs allocate a copy internally anyways, so there's no point to making another one for them.
This commit is contained in:
parent
d1d24eaef4
commit
e236f9d85a
4 changed files with 7 additions and 6 deletions
|
@ -106,8 +106,8 @@ protected:
|
|||
void set_metadata_dirty(bool);
|
||||
ErrorOr<void> prepare_to_write_data();
|
||||
|
||||
void did_add_child(InodeIdentifier child_id, String const& name);
|
||||
void did_remove_child(InodeIdentifier child_id, String const& name);
|
||||
void did_add_child(InodeIdentifier child_id, StringView);
|
||||
void did_remove_child(InodeIdentifier child_id, StringView);
|
||||
void did_modify_contents();
|
||||
void did_delete_self();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue