DescriptionMake rtc::scoped_ptr a type alias for std::unique_ptr
There's also one fixup that could neither be done before or after
landing the type alias CL: changing the FunctorMessageHandler template
specialization for rtc::scoped_ptr<ReturnT> to be for
std::unique_ptr<ReturnT> instead. (Having one specialization for
scoped_ptr and one for unique_ptr doesn't work when the types are the
same, and having just the scoped_ptr specialization doesn't work when
scoped_ptr is a type alias. I'm sure there's some template
metaprogramming magic that could solve the problem, but it's easy
enough to just make the change in this CL instead.)
BUG=webrtc:5520
Committed: https://crrev.com/ba5ea44bad712d454504f55bbcd347494ba9c188
Cr-Commit-Position: refs/heads/master@{#12499}
Patch Set 1 : #
Messages
Total messages: 16 (12 generated)
|