mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed enum case check in non-enum type
This commit is contained in:
parent
9db256f281
commit
b7f30c798c
1 changed files with 2 additions and 2 deletions
|
@ -3615,10 +3615,10 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
// Check enum cases for duplicates
|
||||||
|
if (mCurTypeInstance->IsEnum())
|
||||||
{
|
{
|
||||||
Dictionary<int64, BfFieldDef*> valueMap;
|
Dictionary<int64, BfFieldDef*> valueMap;
|
||||||
|
|
||||||
for (auto& fieldInstanceRef : typeInstance->mFieldInstances)
|
for (auto& fieldInstanceRef : typeInstance->mFieldInstances)
|
||||||
{
|
{
|
||||||
auto fieldInstance = &fieldInstanceRef;
|
auto fieldInstance = &fieldInstanceRef;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue