diff options
author | staroverovad <staroverovad@yandex-team.ru> | 2022-02-10 16:50:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:04 +0300 |
commit | 4db1a5fe7b31f98546be9a912f4710bfb05d7a5f (patch) | |
tree | e5a54fb3f683f2bf7b2e7cf2609be77a04da2e51 /library/cpp/testing/common | |
parent | b6f3a80f7c2c8b7dbb0c01b056fdc1fd8cd820e9 (diff) | |
download | ydb-4db1a5fe7b31f98546be9a912f4710bfb05d7a5f.tar.gz |
Restoring authorship annotation for <staroverovad@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/common')
-rw-r--r-- | library/cpp/testing/common/network.cpp | 8 | ||||
-rw-r--r-- | library/cpp/testing/common/network.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/testing/common/network.cpp b/library/cpp/testing/common/network.cpp index 230c50ee6d..6214db94a5 100644 --- a/library/cpp/testing/common/network.cpp +++ b/library/cpp/testing/common/network.cpp @@ -201,8 +201,8 @@ namespace NTesting { return Singleton<TPortManager>()->GetFreePortsRange(count); } } - - IOutputStream& operator<<(IOutputStream& out, const TPortHolder& port) { - return out << static_cast<ui16>(port); - } + + IOutputStream& operator<<(IOutputStream& out, const TPortHolder& port) { + return out << static_cast<ui16>(port); + } } diff --git a/library/cpp/testing/common/network.h b/library/cpp/testing/common/network.h index eb4d32f3a1..391d3be73d 100644 --- a/library/cpp/testing/common/network.h +++ b/library/cpp/testing/common/network.h @@ -27,8 +27,8 @@ namespace NTesting { operator ui16() const&& = delete; }; - IOutputStream& operator<<(IOutputStream& out, const TPortHolder& port); - + IOutputStream& operator<<(IOutputStream& out, const TPortHolder& port); + //@brief Get first free port. [[nodiscard]] TPortHolder GetFreePort(); |