Skip to content

Commit

Permalink
Make Task.base public because it doesn't work anymore on 2.057 if it'…
Browse files Browse the repository at this point in the history
…s private.
  • Loading branch information
dsimcha committed Dec 9, 2011
1 parent 7774df3 commit 9d151ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/parallelism.d
Expand Up @@ -371,8 +371,8 @@ Bugs: Changes to $(D ref) and $(D out) arguments are not propagated to the
call site, only to $(D args) in this struct.
*/
struct Task(alias fun, Args...) {
private AbstractTask base = {runTask : &impl};
private alias base this;
AbstractTask base = {runTask : &impl};
alias base this;

private @property AbstractTask* basePtr() {
return &base;
Expand Down

0 comments on commit 9d151ac

Please sign in to comment.