aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/yson/node/node.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node/node.h')
-rw-r--r--library/cpp/yson/node/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h
index 82b956272f..5f90f95df0 100644
--- a/library/cpp/yson/node/node.h
+++ b/library/cpp/yson/node/node.h
@@ -6,7 +6,7 @@
#include <util/generic/variant.h>
#include <util/generic/vector.h>
#include <util/generic/yexception.h>
-#include <util/generic/ylimits.h>
+#include <util/generic/ylimits.h>
#include <util/string/cast.h>
#include <cmath>
@@ -324,7 +324,7 @@ inline T TNode::ConvertTo() const {
case NYT::TNode::Uint64:
return IntCast<T>();
case NYT::TNode::Double:
- if (AsDouble() < Min<T>() || AsDouble() > MaxFloor<T>() || !std::isfinite(AsDouble())) {
+ if (AsDouble() < Min<T>() || AsDouble() > MaxFloor<T>() || !std::isfinite(AsDouble())) {
ythrow TTypeError() << AsDouble() << " can't be converted to " << TypeName<T>();
}
return AsDouble();