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
commit32b231c8474a1ade4bdf776ade6a20341691d9d7 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yson/writer.cpp
parent57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50 (diff)
downloadydb-32b231c8474a1ade4bdf776ade6a20341691d9d7.tar.gz
Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 2 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 104a338f634..054459f9f5f 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,