Removed obsolete importprot members.

This commit is contained in:
David Nadlinger 2013-06-11 02:00:27 +02:00
parent 4d3f9333c6
commit ab7ffa9988
4 changed files with 1 additions and 10 deletions

View file

@ -1951,7 +1951,7 @@ DValue* DtoSymbolAddress(const Loc& loc, Type* type, Declaration* decl)
return new DFuncValue(fdecl, func);
}
if (StaticStructInitDeclaration* sdecl = decl->isStaticStructInitDeclaration())
if (SymbolDeclaration* sdecl = decl->isSymbolDeclaration())
{
// this seems to be the static initialiser for structs
Type* sdecltype = sdecl->type->toBasetype();