Make Nullable::Value return a const ref

RESOLVED FIXED in mozilla15

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

unspecified
mozilla15
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Otherwise things like Nullable< nsTArray<T> > really suck.
Created attachment 617388 [details] [diff] [review]
Return the value inside a Nullable by reference, not by value, so Nullable around some sort of complex type works sanely.
Attachment #617388 - Flags: review?(peterv)
Attachment #617388 - Flags: review?(peterv) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/b1217ae2c260
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/b1217ae2c260
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.