aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/output.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /util/stream/output.cpp
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/output.cpp')
-rw-r--r--util/stream/output.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/output.cpp b/util/stream/output.cpp
index 3abb22bed4..db81b81b70 100644
--- a/util/stream/output.cpp
+++ b/util/stream/output.cpp
@@ -132,7 +132,7 @@ void Out<TUtf32StringBuf>(IOutputStream& o, const TUtf32StringBuf& p) {
template <>
void Out<const wchar16*>(IOutputStream& o, const wchar16* w) {
if (w) {
- WriteString(o, w, std::char_traits<wchar16>::length(w));
+ WriteString(o, w, std::char_traits<wchar16>::length(w));
} else {
o.Write("(null)");
}
@@ -141,7 +141,7 @@ void Out<const wchar16*>(IOutputStream& o, const wchar16* w) {
template <>
void Out<const wchar32*>(IOutputStream& o, const wchar32* w) {
if (w) {
- WriteString(o, w, std::char_traits<wchar32>::length(w));
+ WriteString(o, w, std::char_traits<wchar32>::length(w));
} else {
o.Write("(null)");
}
@@ -174,11 +174,11 @@ void Out<TUtf32String>(IOutputStream& o, const TUtf32String& w) {
void Out<type>(IOutputStream & o, type p) { \
char buf[len]; \
o.Write(buf, ToString(p, buf, sizeof(buf))); \
- } \
- \
- template <> \
- void Out<volatile type>(IOutputStream & o, volatile type p) { \
- Out<type>(o, p); \
+ } \
+ \
+ template <> \
+ void Out<volatile type>(IOutputStream & o, volatile type p) { \
+ Out<type>(o, p); \
}
DEF_CONV_NUM(bool, 64)