diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
commit | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (patch) | |
tree | f5a238c69dd20a1fa2092127a31b8aff25020f7d /util/stream | |
parent | f4945d0a44b8770f0801de3056aa41639b0b7bd2 (diff) | |
download | ydb-e5437feb4ac2d2dc044e1090b9312dde5ef197e0.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream')
-rw-r--r-- | util/stream/input_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/input_ut.cpp b/util/stream/input_ut.cpp index 4a93f5458e..b4ba4a52e2 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 { |