aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/writer.cpp
diff options
context:
space:
mode:
authorlevysotsky <levysotsky@yandex-team.ru>2022-02-10 16:47:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:29 +0300
commit57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50 (patch)
treeba6454f353979bb4bafaf230cafdf3e02ea120b2 /library/cpp/yson/writer.cpp
parent23d4769f0fea97cfb1028710e50f2b5ecd0ac2c0 (diff)
downloadydb-57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50.tar.gz
Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/writer.cpp')
-rw-r--r--library/cpp/yson/writer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yson/writer.cpp b/library/cpp/yson/writer.cpp
index 054459f9f5..104a338f63 100644
--- a/library/cpp/yson/writer.cpp
+++ b/library/cpp/yson/writer.cpp
@@ -8,8 +8,8 @@
#include <util/string/cast.h>
-#include <cmath>
-
+#include <cmath>
+
namespace NYson {
////////////////////////////////////////////////////////////////////////////////
@@ -117,7 +117,7 @@ namespace NYson {
static const TStringBuf nanLiteral = "%nan";
static const TStringBuf infLiteral = "%inf";
static const TStringBuf negativeInfLiteral = "%-inf";
-
+
TStringBuf str;
if (std::isnan(value)) {
str = nanLiteral;
@@ -128,11 +128,11 @@ namespace NYson {
}
return TString(str.data(), str.size());
}
-
- }
+
+ }
////////////////////////////////////////////////////////////////////////////////
-
+
TYsonWriter::TYsonWriter(
IOutputStream* stream,
EYsonFormat format,