mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
mFieldDeclaration null check
This commit is contained in:
parent
532de216a1
commit
f5a863d55a
1 changed files with 1 additions and 1 deletions
|
@ -3060,7 +3060,7 @@ void BfSystem::FinishCompositePartial(BfTypeDef* compositeTypeDef)
|
||||||
|
|
||||||
for (auto fieldDef : partialTypeDef->mFields)
|
for (auto fieldDef : partialTypeDef->mFields)
|
||||||
{
|
{
|
||||||
if ((!fieldDef->mIsStatic) && (fieldDef->mFieldDeclaration->mInitializer != NULL))
|
if ((!fieldDef->mIsStatic) && (fieldDef->mFieldDeclaration != NULL) && (fieldDef->mFieldDeclaration->mInitializer != NULL))
|
||||||
hasInitializers = true;
|
hasInitializers = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue