Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/
BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1921233002 Cr-Commit-Position: refs/heads/master@{#12511}
This commit is contained in:
@ -11,8 +11,9 @@
|
||||
#ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_IMPL_H_
|
||||
#define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_IMPL_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h"
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h"
|
||||
@ -75,7 +76,7 @@ class RtpReceiverImpl : public RtpReceiver {
|
||||
|
||||
Clock* clock_;
|
||||
RTPPayloadRegistry* rtp_payload_registry_;
|
||||
rtc::scoped_ptr<RTPReceiverStrategy> rtp_media_receiver_;
|
||||
std::unique_ptr<RTPReceiverStrategy> rtp_media_receiver_;
|
||||
|
||||
RtpFeedback* cb_rtp_feedback_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user