mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 13:01:18 +00:00
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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user