"host/vscode:/vscode.git/clone" did not exist on "0f276ac2145fd13345dd7e1e200a8fe2fe47484b"
Unverified Commit 79aa6d53 authored by mjvankampen's avatar mjvankampen Committed by GitHub
Browse files

Add assert to enable compilation with libcxx + gcc (#947)

parent ef0bba17
......@@ -15,6 +15,9 @@
#include <utility>
#include <vector>
// Assert in place so gcc + libc++ combination properly builds
static_assert(std::is_constructible<YAML::Node, const YAML::Node&>::value, "Node must be copy constructable");
namespace YAML {
namespace detail {
struct iterator_value : public Node, std::pair<Node, Node> {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment