Mercurial > projects > ddmd
diff dmd/CompoundDeclarationStatement.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 | b7d29f613539 |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/CompoundDeclarationStatement.d Sat Aug 28 16:14:07 2010 +0200 +++ b/dmd/CompoundDeclarationStatement.d Sat Aug 28 16:19:48 2010 +0200 @@ -15,7 +15,7 @@ ///statements = s; } - Statement syntaxCopy() + override Statement syntaxCopy() { Statements a = new Statements(); a.setDim(statements.dim); @@ -30,8 +30,8 @@ return cs; } - void toCBuffer(OutBuffer buf, HdrGenState* hgs) + override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } -} \ No newline at end of file +}