aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/pipe.cpp
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/stream/pipe.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/pipe.cpp')
-rw-r--r--util/stream/pipe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/stream/pipe.cpp b/util/stream/pipe.cpp
index 1a137d868c..51be1934a7 100644
--- a/util/stream/pipe.cpp
+++ b/util/stream/pipe.cpp
@@ -36,7 +36,7 @@ TPipeBase::TPipeBase(const TString& command, const char* mode)
{
}
-TPipeBase::~TPipeBase() = default;
+TPipeBase::~TPipeBase() = default;
TPipeInput::TPipeInput(const TString& command)
: TPipeBase(command, "r")
@@ -98,7 +98,7 @@ TPipedInput::TPipedInput(PIPEHANDLE fd)
{
}
-TPipedInput::~TPipedInput() = default;
+TPipedInput::~TPipedInput() = default;
size_t TPipedInput::DoRead(void* buf, size_t len) {
if (!Handle_.IsOpen()) {
@@ -112,7 +112,7 @@ TPipedOutput::TPipedOutput(PIPEHANDLE fd)
{
}
-TPipedOutput::~TPipedOutput() = default;
+TPipedOutput::~TPipedOutput() = default;
void TPipedOutput::DoWrite(const void* buf, size_t len) {
if (!Handle_.IsOpen() || static_cast<ssize_t>(len) != Handle_.Write(buf, len)) {