diff options
author | luchko <luchko@yandex-team.ru> | 2022-02-10 16:48:21 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:21 +0300 |
commit | 6400e9461eb46fbf792bb457abea992f9bb135c1 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream | |
parent | 9f21dcc5d3d7c6e54e7adbaa2abaa6d86ae08c59 (diff) | |
download | ydb-6400e9461eb46fbf792bb457abea992f9bb135c1.tar.gz |
Restoring authorship annotation for <luchko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream')
-rw-r--r-- | util/stream/output.cpp | 16 | ||||
-rw-r--r-- | util/stream/output.h | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/util/stream/output.cpp b/util/stream/output.cpp index 6598603d25..db81b81b70 100644 --- a/util/stream/output.cpp +++ b/util/stream/output.cpp @@ -210,7 +210,7 @@ void Out<typename std::vector<bool>::reference>(IOutputStream& o, const std::vec #endif #ifndef TSTRING_IS_STD_STRING -template <> +template <> void Out<TBasicCharRef<TString>>(IOutputStream& o, const TBasicCharRef<TString>& c) { o << static_cast<char>(c); } @@ -228,14 +228,14 @@ void Out<TBasicCharRef<TUtf32String>>(IOutputStream& o, const TBasicCharRef<TUtf template <> void Out<const void*>(IOutputStream& o, const void* t) { - o << Hex(size_t(t)); -} - -template <> + o << Hex(size_t(t)); +} + +template <> void Out<void*>(IOutputStream& o, void* t) { - Out<const void*>(o, t); -} - + Out<const void*>(o, t); +} + using TNullPtr = decltype(nullptr); template <> diff --git a/util/stream/output.h b/util/stream/output.h index a1eeda2a20..00eef50b95 100644 --- a/util/stream/output.h +++ b/util/stream/output.h @@ -290,9 +290,9 @@ static inline void Endl(IOutputStream& o) { * Flushing stream manipulator, basically the same as `std::flush`. */ static inline void Flush(IOutputStream& o) { - o.Flush(); -} - + o.Flush(); +} + /* * Also see format.h for additional manipulators. */ |