diff options
author | den <den@yandex-team.ru> | 2022-02-10 16:49:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:43 +0300 |
commit | 0beaf5069375bfa9589dbf4c281fbfcc7b11f71d (patch) | |
tree | 2a9075fe9636ba84e8db3369d5d39589cccac932 /util/network | |
parent | 64b907678a38848c4af3d0270ccee688c5d7752c (diff) | |
download | ydb-0beaf5069375bfa9589dbf4c281fbfcc7b11f71d.tar.gz |
Restoring authorship annotation for <den@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network')
-rw-r--r-- | util/network/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/network/socket.h b/util/network/socket.h index 40c8648b40..d28d8451b7 100644 --- a/util/network/socket.h +++ b/util/network/socket.h @@ -279,7 +279,7 @@ public: inline void Swap(TSocketHolder& r) noexcept { DoSwap(Fd_, r.Fd_); } - + inline bool Closed() const noexcept { return Fd_ == INVALID_SOCKET; } |