Mercurial > projects > ddmd
comparison dmd/TypeInfoClassDeclaration.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 |
---|---|
16 this(Type tinfo) | 16 this(Type tinfo) |
17 { | 17 { |
18 super(tinfo, 0); | 18 super(tinfo, 0); |
19 } | 19 } |
20 | 20 |
21 void toDt(dt_t** pdt) | 21 override void toDt(dt_t** pdt) |
22 { | 22 { |
23 //printf("TypeInfoClassDeclaration::toDt() %s\n", tinfo->toChars()); | 23 //printf("TypeInfoClassDeclaration::toDt() %s\n", tinfo->toChars()); |
24 dtxoff(pdt, Type.typeinfoclass.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfoClass | 24 dtxoff(pdt, Type.typeinfoclass.toVtblSymbol(), 0, TYnptr); // vtbl for TypeInfoClass |
25 dtdword(pdt, 0); // monitor | 25 dtdword(pdt, 0); // monitor |
26 | 26 |