Switched value = otherValue to assign the actual nodes after setting the reference (so that tmp = foo['bar']; tmp = other; is the same as foo['bar'] = other;)

This commit is contained in:
beder
2011-09-09 14:02:18 -05:00
parent 7a1e47e03f
commit 8e52497d96

View File

@@ -122,6 +122,7 @@ namespace YAML
{
m_pNode->set_ref(*rhs.m_pNode);
m_pMemory->merge(*rhs.m_pMemory);
m_pNode = rhs.m_pNode;
}
// size/iterator