aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson
diff options
context:
space:
mode:
authormelkov <melkov@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit2c532b38e6aeb4fd88531027c7335690fd34c4e5 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/yson
parent438546c8737d5c1fdeb31157dcf999717d930eec (diff)
downloadydb-2c532b38e6aeb4fd88531027c7335690fd34c4e5.tar.gz
Restoring authorship annotation for <melkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson')
-rw-r--r--library/cpp/yson/node/node.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h
index 63229b5934..5f90f95df0 100644
--- a/library/cpp/yson/node/node.h
+++ b/library/cpp/yson/node/node.h
@@ -131,9 +131,9 @@ public:
template<typename T>
bool IsOfType() const noexcept;
- // Int64, Uint64, Double, or Bool
- bool IsArithmetic() const;
-
+ // Int64, Uint64, Double, or Bool
+ bool IsArithmetic() const;
+
bool Empty() const;
size_t Size() const;
@@ -290,10 +290,10 @@ bool operator!=(const TNode& lhs, const TNode& rhs);
bool GetBool(const TNode& node);
-inline bool TNode::IsArithmetic() const {
- return IsInt64() || IsUint64() || IsDouble() || IsBool();
-}
-
+inline bool TNode::IsArithmetic() const {
+ return IsInt64() || IsUint64() || IsDouble() || IsBool();
+}
+
template<typename T>
inline T TNode::IntCast() const {
if constexpr (std::is_integral<T>::value) {