Index: webrtc/modules/audio_coding/neteq/tools/audio_loop.h |
diff --git a/webrtc/modules/audio_coding/neteq/tools/audio_loop.h b/webrtc/modules/audio_coding/neteq/tools/audio_loop.h |
index 14e20f68ac09d0d64ff6fe23b8eae99808ae0d65..40b2c55aef04d76161e1f5142a340b76d1b5c30d 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/audio_loop.h |
+++ b/webrtc/modules/audio_coding/neteq/tools/audio_loop.h |
@@ -11,11 +11,11 @@ |
#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_AUDIO_LOOP_H_ |
#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_AUDIO_LOOP_H_ |
+#include <memory> |
#include <string> |
#include "webrtc/base/array_view.h" |
#include "webrtc/base/constructormagic.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/typedefs.h" |
namespace webrtc { |
@@ -49,7 +49,7 @@ class AudioLoop { |
size_t next_index_; |
size_t loop_length_samples_; |
size_t block_length_samples_; |
- rtc::scoped_ptr<int16_t[]> audio_array_; |
+ std::unique_ptr<int16_t[]> audio_array_; |
RTC_DISALLOW_COPY_AND_ASSIGN(AudioLoop); |
}; |