mirror of
https://github.com/dlang/phobos.git
synced 2025-05-08 03:56:54 +03:00
Fix issue 8792.
std.algorithm.joiner(ror).Result.save fails to copy over _valid_current, resulting in a defective copy returned by .save.
This commit is contained in:
parent
8131a49a3c
commit
0c4ebc2ce7
1 changed files with 1 additions and 0 deletions
|
@ -2718,6 +2718,7 @@ if (isInputRange!RoR && isInputRange!(ElementType!RoR))
|
|||
Result copy;
|
||||
copy._items = _items.save;
|
||||
copy._current = _current.save;
|
||||
copy._valid_current = _valid_current;
|
||||
return copy;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue