aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node
diff options
context:
space:
mode:
authorpmatsula <pmatsula@yandex-team.ru>2022-02-10 16:49:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:20 +0300
commitb4c80a816aa1aafd8484de35b31cee234033ad59 (patch)
treec6d1e2b52e4d6eaa1f9fd8fb81c64db97ecf7599 /library/cpp/yson/node
parentdbb5d0d21c8cfc3d59e0f6d3b6f4ab06b58561f1 (diff)
downloadydb-b4c80a816aa1aafd8484de35b31cee234033ad59.tar.gz
Restoring authorship annotation for <pmatsula@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/node')
-rw-r--r--library/cpp/yson/node/node_builder.cpp10
-rw-r--r--library/cpp/yson/node/node_builder.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yson/node/node_builder.cpp b/library/cpp/yson/node/node_builder.cpp
index b4431bc77a..065e4086aa 100644
--- a/library/cpp/yson/node/node_builder.cpp
+++ b/library/cpp/yson/node/node_builder.cpp
@@ -79,11 +79,11 @@ void TNodeBuilder::OnEndAttributes()
Stack_.pop();
}
-void TNodeBuilder::OnNode(TNode node)
-{
- AddNode(std::move(node), true);
-}
-
+void TNodeBuilder::OnNode(TNode node)
+{
+ AddNode(std::move(node), true);
+}
+
void TNodeBuilder::AddNode(TNode value, bool pop)
{
Stack_.top()->MoveWithoutAttributes(std::move(value));
diff --git a/library/cpp/yson/node/node_builder.h b/library/cpp/yson/node/node_builder.h
index 69800016e0..6b00018e77 100644
--- a/library/cpp/yson/node/node_builder.h
+++ b/library/cpp/yson/node/node_builder.h
@@ -32,7 +32,7 @@ public:
void OnEndMap() override;
void OnBeginAttributes() override;
void OnEndAttributes() override;
- void OnNode(TNode node);
+ void OnNode(TNode node);
private:
TStack<TNode*> Stack_;