On 6/30/2015 4:35 PM, Jeff Muizelaar wrote:
I believe this is predicated on removing the implicit conversion from nsRefPtr<T> to T*
You'd get the same benefit, I think, by making operator T*() && = delete;, syntax which is accepted on gcc 4.8.1+, clang, and MSVC 2015 IIRC.
-- Joshua Cranmer Thunderbird and DXR developer Source code archæologist _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform