aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/input_ut.cpp
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.ru>2022-02-10 16:45:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:37 +0300
commit94e51c602b555459333b3c6ae92476c424c930bc (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/stream/input_ut.cpp
parente5437feb4ac2d2dc044e1090b9312dde5ef197e0 (diff)
downloadydb-94e51c602b555459333b3c6ae92476c424c930bc.tar.gz
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/input_ut.cpp')
-rw-r--r--util/stream/input_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/input_ut.cpp b/util/stream/input_ut.cpp
index b4ba4a52e2..4a93f5458e 100644
--- a/util/stream/input_ut.cpp
+++ b/util/stream/input_ut.cpp
@@ -13,11 +13,11 @@
class TMockStdIn {
public:
TMockStdIn()
- : StdInCopy_(dup(0))
+ : StdInCopy_(dup(0))
{
}
~TMockStdIn() {
- close(StdInCopy_);
+ close(StdInCopy_);
}
template <typename FuncType>
@@ -33,12 +33,12 @@ public:
func();
Cin.ReadAll();
- dup2(StdInCopy_, 0);
+ dup2(StdInCopy_, 0);
clearerr(stdin);
}
private:
- int StdInCopy_;
+ int StdInCopy_;
};
class TNoInput: public IInputStream {