Fixed new API node key/value insertion in NodeBuilder (it was using the wrong condition on when it had added a key already)

This commit is contained in:
Jesse Beder
2011-09-12 13:25:41 -05:00
parent 41533a8c49
commit 3337df7ca2
2 changed files with 8 additions and 5 deletions

View File

@@ -47,7 +47,8 @@ namespace YAML
Nodes m_stack;
Nodes m_anchors;
Nodes m_keys;
typedef std::pair<detail::node *, bool> Key;
std::vector<Key> m_keys;
std::size_t m_mapDepth;
};
}