aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/output.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /util/stream/output.cpp
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 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 db81b81b70..3abb22bed4 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)