Closed GoogleCodeExporter closed 9 years ago
Workaround: Specify a NodeType in the empty Node ctor:
YAML::Node foo(YAML::NodeType::Sequence);
YAML::Node bar;
bar = Clone(foo); <---- Works!
Original comment by jack.sta...@gmail.com
on 10 Dec 2013 at 5:04
Thanks!
Original comment by jbe...@gmail.com
on 10 Dec 2013 at 6:59
I'm not sure where this would have been fixed since 0.5.1, but it appears so:
{{{
Node node;
Node clone = Clone(node);
EXPECT_EQ(NodeType::Null, clone.Type());
}}}
passes at HEAD.
Original comment by jbe...@gmail.com
on 23 Mar 2014 at 4:32
Original issue reported on code.google.com by
jack.sta...@gmail.com
on 10 Dec 2013 at 4:57