Replace scoped_ptr with unique_ptr in webrtc/modules/audio_processing/transient/

BUG=webrtc:5520

Review URL: https://codereview.webrtc.org/1698843003

Cr-Commit-Position: refs/heads/master@{#11645}
This commit is contained in:
kwiberg
2016-02-16 20:39:36 -08:00
committed by Commit bot
parent 9d3584c47e
commit 85d8bb025a
18 changed files with 90 additions and 88 deletions

View File

@ -11,7 +11,8 @@
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TRANSIENT_WPD_NODE_H_
#define WEBRTC_MODULES_AUDIO_PROCESSING_TRANSIENT_WPD_NODE_H_
#include "webrtc/base/scoped_ptr.h"
#include <memory>
#include "webrtc/typedefs.h"
namespace webrtc {
@ -36,9 +37,9 @@ class WPDNode {
size_t length() const { return length_; }
private:
rtc::scoped_ptr<float[]> data_;
std::unique_ptr<float[]> data_;
size_t length_;
rtc::scoped_ptr<FIRFilter> filter_;
std::unique_ptr<FIRFilter> filter_;
};
} // namespace webrtc