Allow range-based iteration of const LinkedLists

RESOLVED FIXED in Firefox 61

Status

()

enhancement
RESOLVED FIXED
Last year
Last year

People

(Reporter: jonco, Assigned: jonco)

Tracking

unspecified
mozilla61
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox61 fixed)

Details

Attachments

(1 attachment)

Following on from bug 1212624, we should add const versions of LinkedList::begin() and end() to allow const LinkedLists to be used in range-based for loops.
Patch to add const versions of begin() and end().
Attachment #8970901 - Flags: review?(jwalden+bmo)
Attachment #8970901 - Flags: review?(jwalden+bmo) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dded77ad7ac0
Add const iterators for LinkedList r=Waldo
https://hg.mozilla.org/mozilla-central/rev/dded77ad7ac0
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.