Mercurial > projects > ddmd
diff dmd/DebugCondition.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 | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/DebugCondition.d Sat Aug 28 16:14:07 2010 +0200 +++ b/dmd/DebugCondition.d Sat Aug 28 16:19:48 2010 +0200 @@ -35,7 +35,7 @@ super(mod, level, ident); } - bool include(Scope sc, ScopeDsymbol s) + override bool include(Scope sc, ScopeDsymbol s) { //printf("DebugCondition::include() level = %d, debuglevel = %d\n", level, global.params.debuglevel); if (inc == 0) @@ -63,8 +63,8 @@ return (inc == 1); } - void toCBuffer(OutBuffer buf, HdrGenState* hgs) + override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { assert(false); } -} \ No newline at end of file +}