mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Kernel: Add implied auto-specifiers in FileSystem
As per clang-tidy.
This commit is contained in:
committed by
Brian Gianforcaro
parent
fe2cf774c3
commit
4cec16a713
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user