aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/socket.cpp
diff options
context:
space:
mode:
authorfeldsherov <feldsherov@yandex-team.ru>2022-02-10 16:49:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:29 +0300
commite73723ec73b27276cd45b9b46b752138a51d669c (patch)
tree055f8efa1a290665c7be6bb571131e050cd9517a /util/network/socket.cpp
parent4d75b7f76712a8150bd526a7ef43d279d9892eb7 (diff)
downloadydb-e73723ec73b27276cd45b9b46b752138a51d669c.tar.gz
Restoring authorship annotation for <feldsherov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket.cpp')
-rw-r--r--util/network/socket.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp
index 4f6e804346..3c3b303307 100644
--- a/util/network/socket.cpp
+++ b/util/network/socket.cpp
@@ -601,10 +601,10 @@ public:
return Ops_->SendV(Fd_, parts, count);
}
- inline void Close() {
- Fd_.Close();
- }
-
+ inline void Close() {
+ Fd_.Close();
+ }
+
private:
TSocketHolder Fd_;
TOps* Ops_;
@@ -884,10 +884,10 @@ ssize_t TSocket::SendV(const TPart* parts, size_t count) {
return Impl_->SendV(parts, count);
}
-void TSocket::Close() {
- Impl_->Close();
-}
-
+void TSocket::Close() {
+ Impl_->Close();
+}
+
TSocketInput::TSocketInput(const TSocket& s) noexcept
: S_(s)
{