commit | 4fb3d2bcca968e8a0f29d8a20f67238f64f40102 | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Fri Apr 22 11:59:31 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 22 11:59:34 2016 |
tree | edd26490daab8ea3ea470775084306a297640ae6 | |
parent | 7bc7c06e6ad2663e7bd766308b9fbe2fb3514337 [diff] |
Add defaulted move constructors for some types that just got copy constructors They can all benefit from moving, since they contain std::string and std::vector. We intended to add these in https://codereview.webrtc.org/1896953004/, but got compiler errors we couldn't make sense of, so we skipped them. It turns out that what the compiler was complaining about was that when we said we'd have a user-defined move constructor, it stopped generating a copy assignment operator for us. This CL solves the problem by outfitting the types with defaulted copy and move assignment operators too. Review URL: https://codereview.webrtc.org/1899173002 Cr-Commit-Position: refs/heads/master@{#12469}
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.