From 1decb74758f67ff046b87d24694011c4d308e776 Mon Sep 17 00:00:00 2001 From: Walter Bright Date: Sun, 3 Jul 2016 22:20:52 -0700 Subject: [PATCH] remove incorrect use of 'scope' --- std/parallelism.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/std/parallelism.d b/std/parallelism.d index 748152096..32e71798a 100644 --- a/std/parallelism.d +++ b/std/parallelism.d @@ -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;