"example/vscode:/vscode.git/clone" did not exist on "98498486fa8377337eac83b12bdaa23ab5d31bd9"
document.cpp 225 Bytes
Newer Older
beder's avatar
beder committed
1
2
#include "document.h"
#include "node.h"
3

beder's avatar
beder committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace YAML
{
	Document::Document(): m_pRoot(0)
	{
	}

	Document::~Document()
	{
		Clear();
	}

	void Document::Clear()
	{
		delete m_pRoot;
		m_pRoot = 0;
	}
}