Closed
Bug 717278
Opened 12 years ago
Closed 12 years ago
Vector should have const and non-const begin()
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(1 file)
3.24 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
Vector has both const and non-const end() methods but only a const begin() method, and it returns a pointer-to-non-const T, which seems wrong to me.
Comment 1•12 years ago
|
||
Indeed, Vector used to have this right; it looks like it regressed in http://hg.mozilla.org/mozilla-central/rev/b60ac564e39d#l1.253.
Assignee | ||
Comment 2•12 years ago
|
||
Assignee: general → jorendorff
Attachment #587745 -
Flags: review?(luke)
Updated•12 years ago
|
Attachment #587745 -
Flags: review?(luke) → review+
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11ba93db719a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•