Closed
Bug 208398
Opened 22 years ago
Closed 21 years ago
Implement swap on nsRefPtr
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: peterv, Assigned: peterv)
Details
Attachments
(1 file)
891 bytes,
patch
|
sicking
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
I think we should have a swap on nsRefPtr too, like nsCOMPtr has.
Assignee | ||
Comment 1•22 years ago
|
||
Would it be this simple? Do we need nsRefPtr<T>::swap(nsCOMPtr<T>&) and vice
versa?
Assignee | ||
Updated•22 years ago
|
Attachment #125040 -
Flags: review?(dbaron)
Attachment #125040 -
Flags: superreview?(dbaron)
Attachment #125040 -
Flags: review?(dbaron)
Attachment #125040 -
Flags: review+
hmm.. i guess a swaps nsRefPtr<->nsCOMPtr would be good to have, I can't think
of any harm that could do.
Attachment #125040 -
Flags: superreview?(dbaron) → superreview+
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.5alpha
Comment 4•21 years ago
|
||
fixed on Jun 10, 2003 per bonsai
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•