Closed Bug 1303472 Opened 8 years ago Closed 8 years ago

Add a move constructor to nsCOMPtr

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

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+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: