diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/dbg_output | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/dbg_output')
-rw-r--r-- | library/cpp/dbg_output/dump.h | 4 | ||||
-rw-r--r-- | library/cpp/dbg_output/engine.cpp | 2 | ||||
-rw-r--r-- | library/cpp/dbg_output/engine.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/dbg_output/dump.h b/library/cpp/dbg_output/dump.h index 6ef60753cc..c7efa105ee 100644 --- a/library/cpp/dbg_output/dump.h +++ b/library/cpp/dbg_output/dump.h @@ -33,7 +33,7 @@ namespace NPrivate { if (v) { *this << DumpRaw("(") << DumpRaw(TypeName(v).data()) << DumpRaw(")") << Hex((size_t)v); } else { - *this << DumpRaw("(") << DumpRaw(TypeName<V>().data()) << DumpRaw("*)nullptr"); + *this << DumpRaw("(") << DumpRaw(TypeName<V>().data()) << DumpRaw("*)nullptr"); } } }; @@ -55,7 +55,7 @@ namespace NPrivate { *this << DumpRaw("(") << DumpRaw(TypeName(v).data()) << DumpRaw(")") << Hex((size_t)v) << DumpRaw(" -> ") << *v; Visited.erase((size_t)v); } else { - *this << DumpRaw("(") << DumpRaw(TypeName<V>().data()) << DumpRaw("*)nullptr"); + *this << DumpRaw("(") << DumpRaw(TypeName<V>().data()) << DumpRaw("*)nullptr"); } } diff --git a/library/cpp/dbg_output/engine.cpp b/library/cpp/dbg_output/engine.cpp index dca3443a3b..dcb9f02522 100644 --- a/library/cpp/dbg_output/engine.cpp +++ b/library/cpp/dbg_output/engine.cpp @@ -21,7 +21,7 @@ DBGDUMP_INLINE_IF_INCLUDED void TDumpBase::String(const TWtringBuf& s) { } DBGDUMP_INLINE_IF_INCLUDED void TDumpBase::Raw(const TStringBuf& s) { - Stream().Write(s.data(), s.size()); + Stream().Write(s.data(), s.size()); } DBGDUMP_INLINE_IF_INCLUDED void TDumpBase::Char(char ch) { diff --git a/library/cpp/dbg_output/engine.h b/library/cpp/dbg_output/engine.h index 8296c14b40..f13c728c39 100644 --- a/library/cpp/dbg_output/engine.h +++ b/library/cpp/dbg_output/engine.h @@ -104,7 +104,7 @@ struct TDumper<TIndentNewLine> { template <class S> static inline void Dump(S& s, const TIndentNewLine&) { if (s.Indent) { - s << DumpRaw("\n") << DumpRaw(TString(s.IndentLevel * 4, ' ').data()); + s << DumpRaw("\n") << DumpRaw(TString(s.IndentLevel * 4, ' ').data()); } } }; |