Mercurial > projects > ddmd
comparison dmd/OverloadSet.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 | cab4c37afb89 |
children | 7e0d548de9e6 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
15 void push(Dsymbol s) | 15 void push(Dsymbol s) |
16 { | 16 { |
17 a.push(cast(void*)s); | 17 a.push(cast(void*)s); |
18 } | 18 } |
19 | 19 |
20 OverloadSet isOverloadSet() { return this; } | 20 override OverloadSet isOverloadSet() { return this; } |
21 | 21 |
22 string kind() | 22 override string kind() |
23 { | 23 { |
24 return "overloadset"; | 24 return "overloadset"; |
25 } | 25 } |
26 } | 26 } |