Use sp<>::make instead of new
For better refcount safety, use sp<>::make instead of new. After this change, sp<T> t = new T(args..) will be prohibited at compile time. Bug: 241125940 Test: m checkinput Change-Id: I27806ca8f41e8d67744f3569c87a64241318c20b
Loading
Please register or sign in to comment