mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
PopulateGlobalContainersList activeTypeDef fix
This commit is contained in:
parent
bda65a8774
commit
85fcca9c76
2 changed files with 15 additions and 5 deletions
|
@ -3950,11 +3950,7 @@ void BfModule::PopulateGlobalContainersList(const BfGlobalLookup& globalLookup)
|
|||
|
||||
BP_ZONE("PopulateGlobalContainersList");
|
||||
|
||||
BfTypeDef* userTypeDef = mContext->mCurTypeState->mCurTypeDef;
|
||||
if ((userTypeDef == NULL) && (mCurMethodInstance != NULL))
|
||||
userTypeDef = mCurMethodInstance->mMethodDef->mDeclaringType;
|
||||
if (userTypeDef == NULL)
|
||||
userTypeDef = mCurTypeInstance->mTypeDef;
|
||||
BfTypeDef* userTypeDef = GetActiveTypeDef();
|
||||
|
||||
if (mContext->mCurTypeState->mGlobalContainerCurUserTypeDef != userTypeDef)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue