summaryrefslogtreecommitdiffstats
path: root/util/stream/tee.cpp
diff options
context:
space:
mode:
authorAnton Samokhvalov <[email protected]>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /util/stream/tee.cpp
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
Restoring authorship annotation for Anton Samokhvalov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/stream/tee.cpp')
-rw-r--r--util/stream/tee.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/stream/tee.cpp b/util/stream/tee.cpp
index b3ee719fcd9..99873b95ba3 100644
--- a/util/stream/tee.cpp
+++ b/util/stream/tee.cpp
@@ -1,24 +1,24 @@
-#include "tee.h"
-
+#include "tee.h"
+
TTeeOutput::TTeeOutput(IOutputStream* l, IOutputStream* r) noexcept
- : L_(l)
- , R_(r)
-{
+ : L_(l)
+ , R_(r)
+{
}
TTeeOutput::~TTeeOutput() = default;
void TTeeOutput::DoWrite(const void* buf, size_t len) {
- L_->Write(buf, len);
- R_->Write(buf, len);
+ L_->Write(buf, len);
+ R_->Write(buf, len);
}
void TTeeOutput::DoFlush() {
- L_->Flush();
- R_->Flush();
+ L_->Flush();
+ R_->Flush();
}
void TTeeOutput::DoFinish() {
- L_->Finish();
- R_->Finish();
+ L_->Finish();
+ R_->Finish();
}