Index: webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h |
diff --git a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h |
index 29c416ca91b9a858ffb05ebddc2385b49972d234..6119f0fb209ad42ce0f99aa4ce61b84bb5238096 100644 |
--- a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h |
+++ b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h |
@@ -15,6 +15,8 @@ |
#define _USE_MATH_DEFINES |
#include <math.h> |
+ |
+#include <memory> |
#include <vector> |
#include "webrtc/common_audio/lapped_transform.h" |
@@ -125,7 +127,7 @@ class NonlinearBeamformer |
// Deals with the fft transform and blocking. |
size_t chunk_length_; |
- rtc::scoped_ptr<LappedTransform> lapped_transform_; |
+ std::unique_ptr<LappedTransform> lapped_transform_; |
float window_[kFftSize]; |
// Parameters exposed to the user. |