"git@developer.sourcefind.cn:gaoqiong/yaml-cpp.git" did not exist on "1d52e037502eb66d40b90d94e9e465f8aca1818a"
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 @@ ...@@ -15,6 +15,9 @@
#include <utility> #include <utility>
#include <vector> #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 YAML {
namespace detail { namespace detail {
struct iterator_value : public Node, std::pair<Node, Node> { 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