Kernel: Add implied auto-specifiers in FileSystem

As per clang-tidy.
This commit is contained in:
Hendiadyoin1 2021-12-15 14:55:18 +01:00 committed by Brian Gianforcaro
commit 4cec16a713
Notes: sideshowbarker 2024-07-17 22:45:13 +09:00
7 changed files with 20 additions and 20 deletions

View file

@ -52,7 +52,7 @@ ErrorOr<void> SysFSRootDirectory::traverse_as_directory(FileSystemID fsid, Funct
TRY(callback({ ".", { fsid, component_index() }, 0 }));
TRY(callback({ "..", { fsid, 0 }, 0 }));
for (auto& component : m_components) {
for (auto const& component : m_components) {
InodeIdentifier identifier = { fsid, component.component_index() };
TRY(callback({ component.name(), identifier, 0 }));
}