Adds assert to enable compilation with libcxx+gcc
Somehow this instantiates a template properly otherwise the build fails
This commit is contained in:
parent
98acc5a887
commit
78f338e4ee
@ -15,6 +15,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
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> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user