Skip to content

Commit 0c86ada

Browse files
Merge pull request #1 from BoloniniD/patch-1
A patch to allow yaml-cpp to compile with gcc and libcxx
2 parents a6bbe0e + a4ff0d8 commit 0c86ada

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/yaml-cpp/node/iterator.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include <utility>
1616
#include <vector>
1717

18+
static_assert(std::is_constructible<YAML::Node, const YAML::Node&>::value, "Node must be copy constructable");
19+
1820
namespace YAML {
1921
namespace detail {
2022
struct iterator_value : public Node, std::pair<Node, Node> {

0 commit comments

Comments
 (0)