Commit a03e861d authored by Jesse Beder's avatar Jesse Beder
Browse files

Switched map's convert<> specialization to use the new force_insert

parent 09b4706f
......@@ -128,7 +128,7 @@ namespace YAML
static Node encode(const std::map<K, V>& rhs) {
Node node(NodeType::Map);
for(typename std::map<K, V>::const_iterator it=rhs.begin();it!=rhs.end();++it)
node[it->first] = it->second;
node.force_insert(it->first, it->second);
return node;
}
......
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