aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/yson
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson')
-rw-r--r--library/cpp/yson/node/node.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp
index a7daf0f2f6..b39e070718 100644
--- a/library/cpp/yson/node/node.cpp
+++ b/library/cpp/yson/node/node.cpp
@@ -4,8 +4,8 @@
#include <library/cpp/yson/writer.h>
-#include <util/generic/overloaded.h>
-
+#include <util/generic/overloaded.h>
+
namespace NYT {
////////////////////////////////////////////////////////////////////////////////
@@ -279,17 +279,17 @@ size_t TNode::Size() const
TNode::EType TNode::GetType() const
{
- return std::visit(TOverloaded{
- [](const TUndefined&) { return Undefined; },
- [](const TString&) { return String; },
- [](i64) { return Int64; },
- [](ui64) { return Uint64; },
- [](double) { return Double; },
- [](bool) { return Bool; },
- [](const TListType&) { return List; },
- [](const TMapType&) { return Map; },
- [](const TNull&) { return Null; }
- }, Value_);
+ return std::visit(TOverloaded{
+ [](const TUndefined&) { return Undefined; },
+ [](const TString&) { return String; },
+ [](i64) { return Int64; },
+ [](ui64) { return Uint64; },
+ [](double) { return Double; },
+ [](bool) { return Bool; },
+ [](const TListType&) { return List; },
+ [](const TMapType&) { return Map; },
+ [](const TNull&) { return Null; }
+ }, Value_);
}
const TString& TNode::AsString() const