Replace scoped_ptr with unique_ptr in webrtc/modules/audio_coding/codecs/
BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1696853004 Cr-Commit-Position: refs/heads/master@{#11613}
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
@ -636,7 +638,7 @@ TEST_P(OpusTest, OpusDecodeRepacketized) {
|
||||
|
||||
// Encode & decode.
|
||||
int16_t audio_type;
|
||||
rtc::scoped_ptr<int16_t[]> output_data_decode(
|
||||
std::unique_ptr<int16_t[]> output_data_decode(
|
||||
new int16_t[kPackets * kOpus20msFrameSamples * channels_]);
|
||||
OpusRepacketizer* rp = opus_repacketizer_create();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user