Skip to content

Commit

Permalink
Merge pull request #8834 from schveiguy/fixparallelism
Browse files Browse the repository at this point in the history
make std.parallelism.AbstractTask inaccessible
  • Loading branch information
jmdavis authored Oct 29, 2023
2 parents 2458e8f + 0ec4f47 commit aa3416c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/parallelism.d
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ Bugs: Changes to `ref` and `out` arguments are not propagated to the
*/
struct Task(alias fun, Args...)
{
AbstractTask base = {runTask : &impl};
alias base this;
private AbstractTask base = {runTask : &impl};
private alias base this;

private @property AbstractTask* basePtr()
{
Expand Down

0 comments on commit aa3416c

Please sign in to comment.