Index: webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
index e0d1b6f514ebe28236416cacb97991b5dde80528..14302e4336f964bcaa129d0461775d346f88c320 100644 |
--- a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
+++ b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc |
@@ -10,6 +10,8 @@ |
#include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" |
+#include <utility> |
+ |
#include "webrtc/base/logging.h" |
#include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h" |
#include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" |
@@ -235,7 +237,7 @@ AudioEncoder* RentACodec::RentEncoder(const CodecInst& codec_inst) { |
CreateEncoder(codec_inst, &isac_bandwidth_info_); |
if (!enc) |
return nullptr; |
- speech_encoder_ = enc.Pass(); |
+ speech_encoder_ = std::move(enc); |
return speech_encoder_.get(); |
} |