mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Added Node::clear() function
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
inline Node::Node(): m_pNode(0)
|
||||
inline Node::Node(): m_pNode(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -168,6 +168,11 @@ namespace YAML
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline void Node::clear()
|
||||
{
|
||||
m_pNode = NULL;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
inline void Node::Assign(const T& rhs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user