mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Add implied auto-specifiers in FileSystem
As per clang-tidy.
This commit is contained in:
parent
fe2cf774c3
commit
4cec16a713
Notes:
sideshowbarker
2024-07-17 22:45:13 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 4cec16a713
Pull-request: https://github.com/SerenityOS/serenity/pull/11201
Reviewed-by: https://github.com/bgianfo
Reviewed-by: https://github.com/davidot
7 changed files with 20 additions and 20 deletions
|
@ -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 }));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue