aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/yson_string
diff options
context:
space:
mode:
authorhalin-george <halin-george@yandex-team.ru>2022-02-10 16:50:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:07 +0300
commit7c7a0655bcf00449b1fcacc2c658cc4d5c3aca7b (patch)
tree41c83fd863c44839297aff8b2c301ec6b1853244 /library/cpp/yt/yson_string
parent811ece47d06924d20a94f89d1b0f5cd37254a49c (diff)
downloadydb-7c7a0655bcf00449b1fcacc2c658cc4d5c3aca7b.tar.gz
Restoring authorship annotation for <halin-george@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/yson_string')
-rw-r--r--library/cpp/yt/yson_string/string.cpp6
-rw-r--r--library/cpp/yt/yson_string/string.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yt/yson_string/string.cpp b/library/cpp/yt/yson_string/string.cpp
index 99d45e8616..b6880e1e03 100644
--- a/library/cpp/yt/yson_string/string.cpp
+++ b/library/cpp/yt/yson_string/string.cpp
@@ -34,10 +34,10 @@ TYsonStringBuf::TYsonStringBuf(const TString& data, EYsonType type)
TYsonStringBuf::TYsonStringBuf(TStringBuf data, EYsonType type)
: Data_(data)
- , Type_(type)
+ , Type_(type)
, Null_(false)
-{ }
-
+{ }
+
TYsonStringBuf::TYsonStringBuf(const char* data, EYsonType type)
: TYsonStringBuf(TStringBuf(data), type)
{ }
diff --git a/library/cpp/yt/yson_string/string.h b/library/cpp/yt/yson_string/string.h
index e13af37a6d..cf649e39aa 100644
--- a/library/cpp/yt/yson_string/string.h
+++ b/library/cpp/yt/yson_string/string.h
@@ -29,8 +29,8 @@ public:
//! Constructs a non-null instance with given type and content.
explicit TYsonStringBuf(
TStringBuf data,
- EYsonType type = EYsonType::Node);
-
+ EYsonType type = EYsonType::Node);
+
//! Constructs a non-null instance with given type and content
//! (without this overload there is no way to construct TYsonStringBuf from
//! string literal).