Skip to content

Commit

Permalink
Merge pull request #4556 from WalterBright/scopeparallel
Browse files Browse the repository at this point in the history
remove incorrect use of 'scope'
  • Loading branch information
DmitryOlshansky committed Jul 5, 2016
2 parents 665fffb + 1decb74 commit c8f75f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/parallelism.d
Expand Up @@ -2635,7 +2635,8 @@ public:
// making a closure.
static auto scopedAddress(D)(scope D del)
{
return del;
auto tmp = del;
return tmp;
}

size_t curPos = 0;
Expand Down

0 comments on commit c8f75f7

Please sign in to comment.