Index: webrtc/modules/audio_processing/vad/vad_audio_proc.h |
diff --git a/webrtc/modules/audio_processing/vad/vad_audio_proc.h b/webrtc/modules/audio_processing/vad/vad_audio_proc.h |
index 85500aed845f117d6ec8dac9d47fd8dcdbce38a1..a8ecc7ba329e046a10806de0fa3e807e4068917e 100644 |
--- a/webrtc/modules/audio_processing/vad/vad_audio_proc.h |
+++ b/webrtc/modules/audio_processing/vad/vad_audio_proc.h |
@@ -11,7 +11,8 @@ |
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VAD_VAD_AUDIO_PROC_H_ |
#define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_VAD_AUDIO_PROC_H_ |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/modules/audio_processing/vad/common.h" |
#include "webrtc/typedefs.h" |
@@ -79,9 +80,9 @@ class VadAudioProc { |
double log_old_gain_; |
double old_lag_; |
- rtc::scoped_ptr<PitchAnalysisStruct> pitch_analysis_handle_; |
- rtc::scoped_ptr<PreFiltBankstr> pre_filter_handle_; |
- rtc::scoped_ptr<PoleZeroFilter> high_pass_filter_; |
+ std::unique_ptr<PitchAnalysisStruct> pitch_analysis_handle_; |
+ std::unique_ptr<PreFiltBankstr> pre_filter_handle_; |
+ std::unique_ptr<PoleZeroFilter> high_pass_filter_; |
}; |
} // namespace webrtc |