mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-04 11:33:12 +01:00
Use enum literal instead of constant
This commit is contained in:
@@ -41,7 +41,7 @@ void DtoResolveStruct(StructDeclaration* sd)
|
||||
DtoType(sd->type);
|
||||
|
||||
// if it's a forward declaration, all bets are off. The type should be enough
|
||||
if (sd->sizeok != 1)
|
||||
if (sd->sizeok != SIZEOKdone)
|
||||
return;
|
||||
|
||||
// create the IrAggr
|
||||
|
||||
Reference in New Issue
Block a user