commit | 88788adcfd9e84e3e8882806e68d759898be0907 | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Fri Feb 19 07:04:49 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 19 15:04:56 2016 +0000 |
tree | 6f7002e6e23d7b2d98a097b51a1cb7e2c4b25525 | |
parent | df88460372e7ce78c871a87774d7e6d82aac6ee3 [diff] [blame] |
Replace scoped_ptr with unique_ptr in webrtc/modules/audio_processing/ BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1710483002 Cr-Commit-Position: refs/heads/master@{#11684}
diff --git a/webrtc/modules/audio_processing/voice_detection_impl.cc b/webrtc/modules/audio_processing/voice_detection_impl.cc index 22d218c..674a519 100644 --- a/webrtc/modules/audio_processing/voice_detection_impl.cc +++ b/webrtc/modules/audio_processing/voice_detection_impl.cc
@@ -41,7 +41,7 @@ void VoiceDetectionImpl::Initialize(int sample_rate_hz) { rtc::CritScope cs(crit_); sample_rate_hz_ = sample_rate_hz; - rtc::scoped_ptr<Vad> new_vad; + std::unique_ptr<Vad> new_vad; if (enabled_) { new_vad.reset(new Vad()); }