Closed Bug 1445584 Opened 6 years ago Closed 6 years ago

add a move assignment operator for nsCOMPtr

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

Somehow we didn't have this before.  The lack thereof was causing us to
do unnecessary things during event dispatch.
Attachment #8958752 - Flags: review?(gsquelart)
Comment on attachment 8958752 [details] [diff] [review]
add a move assignment operator for nsCOMPtr

Review of attachment 8958752 [details] [diff] [review]:
-----------------------------------------------------------------

It is truly the future. :-)
Attachment #8958752 - Flags: review?(gsquelart) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf267f31cfdf
add a move assignment operator for nsCOMPtr; r=gerald
https://hg.mozilla.org/mozilla-central/rev/cf267f31cfdf
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: