mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
use DATA() macro
This commit is contained in:
parent
3b14dc3e94
commit
11c993e9f0
@ -463,7 +463,7 @@ ByteVector &ByteVector::replace(const ByteVector &pattern, const ByteVector &wit
|
||||
|
||||
// new private data of appropriate size:
|
||||
ByteVectorPrivate *newData = new ByteVectorPrivate(newSize, 0);
|
||||
char *target = &newData->data[0];
|
||||
char *target = DATA(newData);
|
||||
const char *source = data();
|
||||
|
||||
// copy modified data into new private data:
|
||||
|
Loading…
Reference in New Issue
Block a user