Skip to content

Commit aa3416c

Browse files
authored
Merge pull request #8834 from schveiguy/fixparallelism
make std.parallelism.AbstractTask inaccessible
2 parents 2458e8f + 0ec4f47 commit aa3416c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/parallelism.d

+2-2
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ Bugs: Changes to `ref` and `out` arguments are not propagated to the
418418
*/
419419
struct Task(alias fun, Args...)
420420
{
421-
AbstractTask base = {runTask : &impl};
422-
alias base this;
421+
private AbstractTask base = {runTask : &impl};
422+
private alias base this;
423423

424424
private @property AbstractTask* basePtr()
425425
{

0 commit comments

Comments
 (0)