Commit 3779e425 authored by Jesse Beder's avatar Jesse Beder
Browse files

Fixed silly bug in node cloning

parent ec62dc54
......@@ -27,7 +27,7 @@ namespace YAML
Node::Node(const Mark& mark, const std::string& anchor, const std::string& tag, const Content *pContent)
: m_mark(mark), m_anchor(anchor), m_tag(tag), m_pContent(0), m_alias(false), m_pIdentity(this), m_referenced(false)
{
if(m_pContent)
if(pContent)
m_pContent = pContent->Clone();
}
......
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