commit | ba5ea44bad712d454504f55bbcd347494ba9c188 | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Tue Apr 26 01:08:40 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 26 01:08:46 2016 |
tree | be86f59722d55ed41519661dccef475b8fe436a9 | |
parent | 9cb23a3579990ff78e3ceb6b6a88a06912662d7b [diff] |
Make 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 Review URL: https://codereview.webrtc.org/1797463002 Cr-Commit-Position: refs/heads/master@{#12499}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.