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}
diff --git a/api/rtc_error.h b/api/rtc_error.h
index 0e264af..b8cb7f0 100644
--- a/api/rtc_error.h
+++ b/api/rtc_error.h
@@ -115,7 +115,9 @@
// 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.
//