Athena YAML refactor

This commit is contained in:
Jack Andersen 2016-08-21 17:47:34 -10:00
parent 6f7f573a69
commit 6ee8973f5a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Locale::Locale(const std::string& name, const std::string& fullName,
{
athena::io::YAMLDocReader reader;
yaml_parser_set_input_string(reader.getParser(), yamlSource, yamlLength);
reader.parse();
reader.parse(nullptr);
m_rootNode = std::move(reader.releaseRootNode());
if (m_rootNode)
{