Skip to content

Commit

Permalink
Merge pull request #4749 from WalterBright/parallel-system
Browse files Browse the repository at this point in the history
use @System to return pointers to stack
  • Loading branch information
wilzbach committed Aug 24, 2016
2 parents beaba6e + b14de98 commit ed219e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/parallelism.d
Expand Up @@ -2633,7 +2633,7 @@ public:

// Hack to take the address of a nested function w/o
// making a closure.
static auto scopedAddress(D)(scope D del)
static auto scopedAddress(D)(scope D del) @system
{
auto tmp = del;
return tmp;
Expand Down

0 comments on commit ed219e8

Please sign in to comment.