mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Manually replace body
with do
in std.parallelism
This commit is contained in:
parent
df6365092a
commit
c47c950d84
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue