提交 9e01df76 authored 作者: José Luis Millán's avatar José Luis Millán

Replace remaining 'auto_ptr' by 'unique_ptr'

上级 b93f4476
......@@ -72,7 +72,7 @@ namespace RTC
bool rtpRawEventEnabled = false;
bool rtpObjectEventEnabled = false;
// Receiver Report holding the RTP stats.
std::auto_ptr<RTC::RTCP::ReceiverReport> receiverReport;
std::unique_ptr<RTC::RTCP::ReceiverReport> receiverReport;
};
/* Inline methods. */
......
......@@ -67,8 +67,8 @@ namespace RTC
// Whether this RtpSender is valid according to Peer capabilities.
bool available = false;
// Sender Report holding the RTP stats.
std::auto_ptr<RTC::RTCP::SenderReport> senderReport;
std::auto_ptr<RTC::RTCP::SdesChunk> sdesChunk;
std::unique_ptr<RTC::RTCP::SenderReport> senderReport;
std::unique_ptr<RTC::RTCP::SdesChunk> sdesChunk;
};
/* Inline methods. */
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论