yaml-cpp/include
Jonathan Hamilton 0526d7c299 Return fallback if .as(fallback) called on a node that doesn't exist
Since 1025f76df1 it seems that missing
nodes point to a 'zombie' node, where the m_isValid member is false.
This caused .as(const S& fallback) throw an exception if the node was
missing, instead of returning the provided fallback value (as was the
behaviour previous to the above commit)
2015-05-28 20:10:25 -07:00
..
yaml-cpp Return fallback if .as(fallback) called on a node that doesn't exist 2015-05-28 20:10:25 -07:00