Fix clang-tidy

This commit is contained in:
alesapin 2020-11-26 15:28:54 +03:00
parent fc0bca1ff2
commit 15a76b4763

View File

@ -150,9 +150,8 @@ struct SocketInterruptablePollWrapper
} }
else else
{ {
for (size_t i = 0; i < outputs.size(); ++i) for (auto fd : outputs)
{ {
int fd = outputs[i];
if (fd != -1) if (fd != -1)
{ {
if (fd == sockfd) if (fd == sockfd)