Replace scoped_ptr with unique_ptr in webrtc/modules/video_coding/
BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1721353002 Cr-Commit-Position: refs/heads/master@{#11814}
This commit is contained in:
@ -14,8 +14,9 @@
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "webrtc/base/exp_filter.h"
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/modules/video_coding/internal_defines.h"
|
||||
#include "webrtc/modules/video_coding/qm_select.h"
|
||||
#include "webrtc/system_wrappers/include/trace.h"
|
||||
@ -333,7 +334,7 @@ class VCMLossProtectionLogic {
|
||||
// Sets the available loss protection methods.
|
||||
void UpdateMaxLossHistory(uint8_t lossPr255, int64_t now);
|
||||
uint8_t MaxFilteredLossPr(int64_t nowMs) const;
|
||||
rtc::scoped_ptr<VCMProtectionMethod> _selectedMethod;
|
||||
std::unique_ptr<VCMProtectionMethod> _selectedMethod;
|
||||
VCMProtectionParameters _currentParameters;
|
||||
int64_t _rtt;
|
||||
float _lossPr;
|
||||
|
||||
Reference in New Issue
Block a user