Replace scoped_ptr with unique_ptr in webrtc/modules/audio_coding/test/
BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1695763004 Cr-Commit-Position: refs/heads/master@{#11618}
This commit is contained in:
@ -13,7 +13,8 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include <memory>
|
||||
|
||||
#include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h"
|
||||
#include "webrtc/modules/audio_coding/acm2/acm_resampler.h"
|
||||
#include "webrtc/modules/audio_coding/test/ACMTest.h"
|
||||
@ -39,7 +40,7 @@ class OpusTest : public ACMTest {
|
||||
|
||||
void OpenOutFile(int test_number);
|
||||
|
||||
rtc::scoped_ptr<AudioCodingModule> acm_receiver_;
|
||||
std::unique_ptr<AudioCodingModule> acm_receiver_;
|
||||
TestPackStereo* channel_a2b_;
|
||||
PCMFile in_file_stereo_;
|
||||
PCMFile in_file_mono_;
|
||||
|
||||
Reference in New Issue
Block a user