Rename Audio[Multi]Vector.CopyFrom to .CopyTo
The name of the copy method was confusing. This change makes the code easier to read where the method is used. R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25389004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7059 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -22,7 +22,7 @@ void AudioVector::Clear() {
|
||||
first_free_ix_ = 0;
|
||||
}
|
||||
|
||||
void AudioVector::CopyFrom(AudioVector* copy_to) const {
|
||||
void AudioVector::CopyTo(AudioVector* copy_to) const {
|
||||
if (copy_to) {
|
||||
copy_to->Reserve(Size());
|
||||
assert(copy_to->capacity_ >= Size());
|
||||
|
||||
Reference in New Issue
Block a user