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;