2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 19:55:51 +00:00

Athena YAML refactor

This commit is contained in:
Jack Andersen 2016-08-21 17:47:34 -10:00
parent 6f7f573a69
commit 6ee8973f5a

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)
{