mirror of
https://github.com/libAthena/athena.git
synced 2025-05-21 06:41:24 +00:00
Ensure name
field set before parsing mapping node
This commit is contained in:
parent
b3ca9a0a90
commit
a5a3244e1a
@ -701,7 +701,7 @@ public:
|
||||
int& seqIdx = m_seqTrackerStack.back();
|
||||
return NodeToVal<RETURNTYPE>(mnode->m_seqChildren[seqIdx++].get());
|
||||
}
|
||||
else if (mnode->m_type == YAML_MAPPING_NODE)
|
||||
else if (mnode->m_type == YAML_MAPPING_NODE && name)
|
||||
{
|
||||
for (const auto& item : mnode->m_mapChildren)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user