Closed Bug 893281 Opened 7 years ago Closed 7 years ago

JS::Vector<T> shouldn't require T to have a no-args constructor if we call growByUninitialized()

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: justin.lebar+bug, Unassigned)

Details

Attachments

(1 file)

Patch in a moment.
Attached patch Patch, v1Splinter Review
Attachment #775019 - Flags: review?(luke)
Summary: JS::Vector shouldn't require an object to have a no-args constructor if you use growByUninitialized() → JS::Vector<T> shouldn't require T to have a no-args constructor if we call growByUninitialized()
Comment on attachment 775019 [details] [diff] [review]
Patch, v1

Nice!
Attachment #775019 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/5815a35c771c
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.