Fixed crash when emitting empty node

This commit is contained in:
Jesse Beder
2013-07-10 08:29:11 -05:00
parent dd0f2577ae
commit 0305ad13e4
4 changed files with 17 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ namespace YAML
private:
detail::shared_memory_holder m_pMemory;
detail::node& m_root;
detail::node* m_root;
typedef std::map<const detail::node_ref *, int> RefCount;
RefCount m_refCount;