From 0bb04280510a7a14d72d806d54c4e0eaa83bcbd6 Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 28 Feb 2022 10:58:43 +0100 Subject: [PATCH] slip of hand: or >>> || --- include/yaml-cpp/node/convert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/yaml-cpp/node/convert.h b/include/yaml-cpp/node/convert.h index 78f28e3..a1bb42a 100644 --- a/include/yaml-cpp/node/convert.h +++ b/include/yaml-cpp/node/convert.h @@ -381,7 +381,7 @@ struct convert> { } static std::pair decode(const Node& node) { - if (!node.IsSequence() or node.size() != 2) + if (!node.IsSequence() || node.size() != 2) BAD_DECODE_EXCEPTION std::pair rhs;