mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-06 16:05:53 +00:00
Athena YAML refactor
This commit is contained in:
parent
6f7f573a69
commit
6ee8973f5a
@ -11,7 +11,7 @@ Locale::Locale(const std::string& name, const std::string& fullName,
|
|||||||
{
|
{
|
||||||
athena::io::YAMLDocReader reader;
|
athena::io::YAMLDocReader reader;
|
||||||
yaml_parser_set_input_string(reader.getParser(), yamlSource, yamlLength);
|
yaml_parser_set_input_string(reader.getParser(), yamlSource, yamlLength);
|
||||||
reader.parse();
|
reader.parse(nullptr);
|
||||||
m_rootNode = std::move(reader.releaseRootNode());
|
m_rootNode = std::move(reader.releaseRootNode());
|
||||||
if (m_rootNode)
|
if (m_rootNode)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user