mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 20:19:43 +03:00
Merge pull request #4556 from WalterBright/scopeparallel
remove incorrect use of 'scope'
This commit is contained in:
commit
c8f75f77c9
1 changed files with 2 additions and 1 deletions
|
@ -2635,7 +2635,8 @@ public:
|
||||||
// making a closure.
|
// making a closure.
|
||||||
static auto scopedAddress(D)(scope D del)
|
static auto scopedAddress(D)(scope D del)
|
||||||
{
|
{
|
||||||
return del;
|
auto tmp = del;
|
||||||
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t curPos = 0;
|
size_t curPos = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue