Don't call the Pass methods of rtc::Buffer, rtc::scoped_ptr, and rtc::ScopedVector
We can now use std::move instead! This CL leaves the Pass methods in place; a follow-up CL will add deprecation annotations to them. Review URL: https://codereview.webrtc.org/1460043002 Cr-Commit-Position: refs/heads/master@{#11064}
This commit is contained in:
@ -219,7 +219,7 @@ VCMJitterBuffer::VCMJitterBuffer(Clock* clock,
|
||||
: clock_(clock),
|
||||
running_(false),
|
||||
crit_sect_(CriticalSectionWrapper::CreateCriticalSection()),
|
||||
frame_event_(event.Pass()),
|
||||
frame_event_(std::move(event)),
|
||||
max_number_of_frames_(kStartNumberOfFrames),
|
||||
free_frames_(),
|
||||
decodable_frames_(),
|
||||
|
||||
Reference in New Issue
Block a user