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:
henrik.lundin@webrtc.org
2014-09-04 10:58:43 +00:00
parent 3c0aae17f0
commit f6ab6f86e7
7 changed files with 13 additions and 13 deletions

View File

@ -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());