mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:15:07 +00:00
Kernel: Always pass InodeIdentifier by value
These objects are small, there are no benefits to passing by reference.
This commit is contained in:
parent
db4388f21b
commit
c427f8bbeb
2 changed files with 4 additions and 4 deletions
|
@ -202,7 +202,7 @@ void Inode::set_metadata_dirty(bool metadata_dirty)
|
|||
}
|
||||
}
|
||||
|
||||
void Inode::did_add_child(InodeIdentifier const&, String const& name)
|
||||
void Inode::did_add_child(InodeIdentifier, String const& name)
|
||||
{
|
||||
MutexLocker locker(m_inode_lock);
|
||||
|
||||
|
@ -211,7 +211,7 @@ void Inode::did_add_child(InodeIdentifier const&, String const& name)
|
|||
}
|
||||
}
|
||||
|
||||
void Inode::did_remove_child(InodeIdentifier const&, String const& name)
|
||||
void Inode::did_remove_child(InodeIdentifier, String const& name)
|
||||
{
|
||||
MutexLocker locker(m_inode_lock);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue