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

@ -87,7 +87,7 @@ Thread::FileBlocker::BlockFlags OpenFileDescription::should_unblock(Thread::File
// TODO: Implement Thread::FileBlocker::BlockFlags::Exception
if (has_any_flag(block_flags, BlockFlags::SocketFlags)) {
auto* sock = socket();
auto const* sock = socket();
VERIFY(sock);
if (has_flag(block_flags, BlockFlags::Accept) && sock->can_accept())
unblock_flags |= BlockFlags::Accept;