Fixed crash when emitting empty node

This commit is contained in:
Jesse Beder
2013-07-10 08:29:11 -05:00
parent dd0f2577ae
commit 0305ad13e4
4 changed files with 17 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
namespace YAML
{
ostream_wrapper::ostream_wrapper(): m_pStream(0), m_pos(0), m_row(0), m_col(0), m_comment(false)
ostream_wrapper::ostream_wrapper(): m_buffer(1), m_pStream(0), m_pos(0), m_row(0), m_col(0), m_comment(false)
{
}