Manually replace body with do in std.parallelism

This commit is contained in:
Sebastian Wilzbach 2017-11-20 13:30:07 +01:00
parent df6365092a
commit c47c950d84

View file

@ -2075,7 +2075,8 @@ public:
{ {
assert(nextBufTask.prev is null); assert(nextBufTask.prev is null);
assert(nextBufTask.next is null); assert(nextBufTask.next is null);
} body }
do
{ {
// Hack to reuse the task object. // Hack to reuse the task object.
@ -2261,7 +2262,8 @@ public:
{ {
assert(nextBufTask.prev is null); assert(nextBufTask.prev is null);
assert(nextBufTask.next is null); assert(nextBufTask.next is null);
} body }
do
{ {
// Hack to reuse the task object. // Hack to reuse the task object.