mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-09 08:23:20 +01:00
Use enum literal instead of constant
This commit is contained in:
@@ -596,7 +596,7 @@ void TypeInfoStructDeclaration::llvmDefine()
|
||||
StructDeclaration *sd = tc->sym;
|
||||
|
||||
// can't emit typeinfo for forward declarations
|
||||
if (sd->sizeok != 1)
|
||||
if (sd->sizeok != SIZEOKdone)
|
||||
{
|
||||
sd->error("cannot emit TypeInfo for forward declaration");
|
||||
fatal();
|
||||
|
||||
Reference in New Issue
Block a user