diff options
| author | ignat <[email protected]> | 2022-02-10 16:48:20 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:20 +0300 |
| commit | 12d7840a194f4a6e4ea77a405f980074cf43e942 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yson/node | |
| parent | c8b279dd21ddcb47e755028d81281f113a0f4a11 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node')
| -rw-r--r-- | library/cpp/yson/node/node.cpp | 6 | ||||
| -rw-r--r-- | library/cpp/yson/node/node.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yson/node/node.cpp b/library/cpp/yson/node/node.cpp index e2acc4cdd40..b39e0707187 100644 --- a/library/cpp/yson/node/node.cpp +++ b/library/cpp/yson/node/node.cpp @@ -9,7 +9,7 @@ namespace NYT { //////////////////////////////////////////////////////////////////////////////// - + bool TNode::TNull::operator==(const TNull&) const { return true; } @@ -905,8 +905,8 @@ bool GetBool(const TNode& node) } else if (node.IsString()) { return node.AsString() == "true"; } else { - ythrow TNode::TTypeError() - << "GetBool(): not a boolean or string type"; + ythrow TNode::TTypeError() + << "GetBool(): not a boolean or string type"; } } diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h index 12e8a127e15..5f90f95df07 100644 --- a/library/cpp/yson/node/node.h +++ b/library/cpp/yson/node/node.h @@ -8,7 +8,7 @@ #include <util/generic/yexception.h> #include <util/generic/ylimits.h> #include <util/string/cast.h> - + #include <cmath> #include <variant> @@ -27,7 +27,7 @@ public: { }; class TTypeError - : public TWithBackTrace<yexception> + : public TWithBackTrace<yexception> { }; enum EType { |
