Closed Bug 1580182 Opened 5 years ago Closed 5 years ago

Allow mozilla::SupportsWeakPtr be on base classes as well.

Categories

(Core :: MFBT, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mayhemer, Assigned: mayhemer)

Details

Attachments

(1 file)

Pattern

class A : public SupportsWeakPtr<A> { };
class B : public SupportsWeakPtr<B>, public A { };

currently doesn't compile. Patches coming.

Summary: Allow mozilla::SupportsWeakPtr be on bas classes as well. → Allow mozilla::SupportsWeakPtr be on base classes as well.
Attachment #9092049 - Attachment description: Bug 1580182 - Allow mozilla::SupportsWeakPtr be on bas classes as well, r=froydnj → Bug 1580182 - Allow mozilla::SupportsWeakPtr be on base classes as well, r=froydnj
Pushed by honzab.moz@firemni.cz:
https://hg.mozilla.org/integration/autoland/rev/abcbc3635aef
Allow mozilla::SupportsWeakPtr be on base classes as well, r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: