mirror of
https://github.com/RGBCube/serenity
synced 2025-06-13 08:32:08 +00:00
Kerne: Switch SysFS to east-const style
This commit is contained in:
parent
7a4e6257b7
commit
66f483b1a1
4 changed files with 25 additions and 26 deletions
|
@ -55,18 +55,18 @@ SystemExposedFolder::SystemExposedFolder(String name)
|
|||
{
|
||||
}
|
||||
|
||||
SystemExposedFolder::SystemExposedFolder(String name, const SystemExposedFolder& parent_folder)
|
||||
SystemExposedFolder::SystemExposedFolder(String name, SystemExposedFolder const& parent_folder)
|
||||
: SystemExposedComponent(name)
|
||||
, m_parent_folder(parent_folder)
|
||||
{
|
||||
}
|
||||
|
||||
NonnullRefPtr<Inode> SystemExposedFolder::to_inode(const SysFS& sysfs_instance) const
|
||||
NonnullRefPtr<Inode> SystemExposedFolder::to_inode(SysFS const& sysfs_instance) const
|
||||
{
|
||||
return SysFSDirectoryInode::create(sysfs_instance, *this);
|
||||
}
|
||||
|
||||
NonnullRefPtr<Inode> SystemExposedComponent::to_inode(const SysFS& sysfs_instance) const
|
||||
NonnullRefPtr<Inode> SystemExposedComponent::to_inode(SysFS const& sysfs_instance) const
|
||||
{
|
||||
return SysFSInode::create(sysfs_instance, *this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue