Kernel: Remove all friend declarations from SysFSComponentRegistry

Let them access the class using public API instead.
This commit is contained in:
Andreas Kling 2021-07-11 01:17:33 +02:00
parent d40ea1a0a8
commit a9decf5aa6
Notes: sideshowbarker 2024-07-18 09:21:34 +09:00
4 changed files with 6 additions and 10 deletions

View file

@ -115,7 +115,7 @@ ProcFSInode::~ProcFSInode()
}
ProcFS::ProcFS()
: m_root_inode(ProcFSComponentsRegistrar::the().m_root_folder->to_inode(*this))
: m_root_inode(ProcFSComponentsRegistrar::the().root_folder().to_inode(*this))
{
}