Closed Bug 1303472 Opened 3 years ago Closed 3 years ago

Add a move constructor to nsCOMPtr

Categories

(Core :: XPCOM, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: Nika, Assigned: Nika)

Details

Attachments

(1 file)

I was surprised that nsCOMPtr<T> doesn't have a move constructor. This small patch adds one, assuming we want one.
MozReview-Commit-ID: 6ECLDmA9Ol
Attachment #8792165 - Flags: review?(nfroyd)
Attachment #8792165 - Flags: review?(nfroyd) → review+
Pushed by michael@thelayzells.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6396e3ab4695
Add a move constructor to nsCOMPtr, r=froydnj
https://hg.mozilla.org/mozilla-central/rev/6396e3ab4695
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.