mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-01 00:37:47 +00:00
forward declare every struct and union to be able to self-reference
This commit is contained in:
@@ -61,7 +61,7 @@ void HeaderParserState::AddDataType(std::unique_ptr<DataDefinition> definition)
|
||||
|
||||
void HeaderParserState::AddForwardDeclaration(std::unique_ptr<ForwardDeclaration> forwardDeclaration)
|
||||
{
|
||||
m_forward_declarations.insert(std::make_pair(forwardDeclaration->m_name, std::move(forwardDeclaration)));
|
||||
m_forward_declarations.insert(std::make_pair(forwardDeclaration->GetFullName(), std::move(forwardDeclaration)));
|
||||
}
|
||||
|
||||
const DataDefinition* HeaderParserState::FindType(const std::string& typeName)
|
||||
|
||||
Reference in New Issue
Block a user