Mercurial > projects > ddmd
diff dmd/SharedStaticCtorDeclaration.d @ 192:eb38fdcb3e62 default tip
updated to compile with dmd2.062
author | korDen |
---|---|
date | Sat, 02 Mar 2013 01:25:52 -0800 |
parents | b0d41ff5e0df |
children |
line wrap: on
line diff
--- a/dmd/SharedStaticCtorDeclaration.d Sun Mar 25 03:11:12 2012 +0400 +++ b/dmd/SharedStaticCtorDeclaration.d Sat Mar 02 01:25:52 2013 -0800 @@ -18,18 +18,18 @@ super(loc, endloc, "_sharedStaticCtor"); } - Dsymbol syntaxCopy(Dsymbol s) + override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); SharedStaticCtorDeclaration scd = new SharedStaticCtorDeclaration(loc, endloc); return FuncDeclaration.syntaxCopy(scd); } - void toCBuffer(OutBuffer buf, HdrGenState* hgs) + override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { buf.writestring("shared "); StaticCtorDeclaration.toCBuffer(buf, hgs); } - SharedStaticCtorDeclaration isSharedStaticCtorDeclaration() { return this; } + override SharedStaticCtorDeclaration isSharedStaticCtorDeclaration() { return this; } } \ No newline at end of file