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:
kwiberg
2015-12-17 03:04:15 -08:00
committed by Commit bot
parent e376f0f2df
commit 0eb15ed7b8
46 changed files with 205 additions and 203 deletions

View File

@ -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_(),