mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Make the code in ByteVector::append() a bit more clearer.
This commit is contained in:
parent
7d8aa7b8bd
commit
01054009ac
@ -562,7 +562,7 @@ ByteVector &ByteVector::append(const ByteVector &v)
|
||||
const unsigned int originalSize = size();
|
||||
const unsigned int appendSize = v.size();
|
||||
|
||||
resize(originalSize + v.size());
|
||||
resize(originalSize + appendSize);
|
||||
::memcpy(data() + originalSize, v.data(), appendSize);
|
||||
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user