| Index: webrtc/api/rtcerror.h
|
| diff --git a/webrtc/api/rtcerror.h b/webrtc/api/rtcerror.h
|
| index 1c130c0d6e824915029389a38b97aa802bea2c77..2ba78371eb0034f17b19833be32dc9fddf6fdc59 100644
|
| --- a/webrtc/api/rtcerror.h
|
| +++ b/webrtc/api/rtcerror.h
|
| @@ -224,7 +224,7 @@ class RTCErrorOr {
|
| // NOTE: Not explicit - we want to use RTCErrorOr<T> as a return type
|
| // so it is convenient and sensible to be able to do 'return T()'
|
| // when the return type is RTCErrorOr<T>.
|
| - RTCErrorOr(T value) : value_(std::move(value)) {}
|
| + RTCErrorOr(T&& value) : value_(std::move(value)) {}
|
|
|
| // Delete the copy constructor and assignment operator; there aren't any use
|
| // cases where you should need to copy an RTCErrorOr, as opposed to moving
|
|
|