[Webkit-unassigned] [Bug 205617] Add makeRefCounted<>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 3 09:13:09 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=205617

--- Comment #11 from Antti Koivisto <koivisto at iki.fi> ---
> RefCountedType a { 1, 2 };

This will be caught by an assert in RefCounted destructor (m_deletionHasBegun). 

I doubt this is a common enough mistake to be worth adding complexity everywhere to prevent at compile time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200103/88fa71e4/attachment.htm>


More information about the webkit-unassigned mailing list