diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-16 20:19:28 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-16 20:52:22 +0300 |
commit | 23b4cd86157da8b9f0f8acd5ef46acfab39669db (patch) | |
tree | 09572627315c6029e0434702e8330c557476ff06 /library/cpp/yaml/fyamlcpp/fyamlcpp.h | |
parent | 05d934cd8bfcf7ce4b6241d6bd2914cc776877f9 (diff) | |
download | ydb-23b4cd86157da8b9f0f8acd5ef46acfab39669db.tar.gz |
Y_VERIFY_DEBUG->Y_DEBUG_ABORT_UNLESS at '-v ydb'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/yaml/fyamlcpp/fyamlcpp.h')
-rw-r--r-- | library/cpp/yaml/fyamlcpp/fyamlcpp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/yaml/fyamlcpp/fyamlcpp.h b/library/cpp/yaml/fyamlcpp/fyamlcpp.h index 4542386846..e205db7122 100644 --- a/library/cpp/yaml/fyamlcpp/fyamlcpp.h +++ b/library/cpp/yaml/fyamlcpp/fyamlcpp.h @@ -444,7 +444,7 @@ public: explicit TMapping(const TNodeOps<T>& node) : TNodeRef(node) { - Y_VERIFY_DEBUG(Type() == ENodeType::Mapping); + Y_DEBUG_ABORT_UNLESS(Type() == ENodeType::Mapping); } TMappingIterator begin() const { @@ -591,7 +591,7 @@ public: explicit TSequence(const TNodeRef& node) : TNodeRef(node) { - Y_VERIFY_DEBUG(Type() == ENodeType::Sequence); + Y_DEBUG_ABORT_UNLESS(Type() == ENodeType::Sequence); } TSequenceIterator begin() const { @@ -692,7 +692,7 @@ public: template <class... Args> size_t Scanf(const char* fmt, Args&& ...args) { - Y_VERIFY_DEBUG(Document_); + Y_DEBUG_ABORT_UNLESS(Document_); return fy_document_scanf(Document_.get(), fmt, std::forward<Args>(args)...); } @@ -700,7 +700,7 @@ public: template <class... Args> TNodeRef Buildf(const char* fmt, Args&& ...args) { - Y_VERIFY_DEBUG(Document_); + Y_DEBUG_ABORT_UNLESS(Document_); return fy_node_buildf(Document_.get(), fmt, std::forward<Args>(args)...); } |