October 31, 2015 [phobos] [D-Programming-Language/phobos] 05fd49: Fix DList.insertFront(range) regression - #15263. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 05fd49ed88a4e63d3f474aeba8ea7d0aa6225bc6 https://github.com/D-Programming-Language/phobos/commit/05fd49ed88a4e63d3f474aeba8ea7d0aa6225bc6 Author: Ryan Roden-Corrent <ryan@rcorre.net> Date: 2015-10-31 (Sat, 31 Oct 2015) Changed paths: M std/container/dlist.d Log Message: ----------- Fix DList.insertFront(range) regression - #15263. As createNode was taking a value by ref, Dlist.insertFront could not be called with a range with a non-ref front. Fix by taking the value as `auto ref` instead of just `ref`. Resolves #15263. Commit: 820da8e3f761341f94f4f80f725e098d5dcbe274 https://github.com/D-Programming-Language/phobos/commit/820da8e3f761341f94f4f80f725e098d5dcbe274 Author: Dmitry Olshansky <dmitry.olsh@gmail.com> Date: 2015-10-31 (Sat, 31 Oct 2015) Changed paths: M std/container/dlist.d Log Message: ----------- Merge pull request #3787 from rcorre/dlist_insert_fix Fix DList.insertFront(range) regression - #15263. Compare: https://github.com/D-Programming-Language/phobos/compare/8b187bbd1598...820da8e3f761 |
Copyright © 1999-2021 by the D Language Foundation