comparison dmd/TypeInfoConstDeclaration.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 10317f0c89a5
children ef02e2e203c2
comparison
equal deleted inserted replaced
71:8e24ef1dd139 72:2e2a5c3f943a
12 this(Type tinfo) 12 this(Type tinfo)
13 { 13 {
14 super(tinfo, 0); 14 super(tinfo, 0);
15 } 15 }
16 16
17 void toDt(dt_t** pdt) 17 override void toDt(dt_t** pdt)
18 { 18 {
19 //printf("TypeInfoConstDeclaration.toDt() %s\n", toChars()); 19 //printf("TypeInfoConstDeclaration.toDt() %s\n", toChars());
20 dtxoff(pdt, Type.typeinfoconst.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Const 20 dtxoff(pdt, Type.typeinfoconst.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfo_Const
21 dtdword(pdt, 0); // monitor 21 dtdword(pdt, 0); // monitor
22 Type tm = tinfo.mutableOf(); 22 Type tm = tinfo.mutableOf();