commit | f2a1c89241ef6e7c3050121ab3f5bcaca65a3375 | [log] [tgz] |
---|---|---|
author | sergeyu <sergeyu@chromium.org> | Wed Jun 08 22:52:21 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 08 22:52:28 2016 |
tree | 323cf7756071f174edef8b5cfa1dd720312ec9c5 | |
parent | d5f41ce89899abf47cd015ccc52524d467e0eb44 [diff] |
Add r-value constructor for RefCountedObject. Previously RefCountedObject was passing all parameters by value. This meant that it was hard to use it with movable types, such as unique_ptr<>. Now there is a constructor that takes r-value, which means that RefCountedObject<std::unique_ptr<foo>> can be initialized by passing std::unique_ptr<foo> to the constructor. Review-Url: https://codereview.webrtc.org/2036123002 Cr-Commit-Position: refs/heads/master@{#13079}
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.