mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Re-introduce the RTCError move constructor/assignment
They appear to have been unintentionally removed in a previous CL: https://webrtc-review.googlesource.com/c/src/+/161304 Bug: None Change-Id: Ia677b19fafe59a686262635dc90173b9f25d1bd6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165421 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30185}
This commit is contained in:
parent
340a62eb5a
commit
2a3190ff2a
1 changed files with 2 additions and 0 deletions
|
@ -115,7 +115,9 @@ class RTC_EXPORT RTCError {
|
|||
// but copy and assignment are provided for those cases that need it.
|
||||
// Note that this has extra overhead because it copies strings.
|
||||
RTCError(const RTCError& other) = default;
|
||||
RTCError(RTCError&&) = default;
|
||||
RTCError& operator=(const RTCError& other) = default;
|
||||
RTCError& operator=(RTCError&&) = default;
|
||||
|
||||
// Identical to default constructed error.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue