Fixed warning about shadowing variable (#1254)

You can't name parameter and structure field the same as complier frequently complain about this.
This commit is contained in:
Christian Schmitz 2024-11-22 06:55:34 +01:00 committed by GitHub
parent 90f62a3c94
commit 225c73e181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,8 +60,8 @@ namespace TagLib {
#ifndef DO_NOT_DOCUMENT
struct AtomData {
AtomData(AtomDataType type, const ByteVector &data) :
type(type), data(data) { }
AtomData(AtomDataType ptype, const ByteVector &pdata) :
type(ptype), data(pdata) { }
AtomDataType type;
int locale { 0 };
ByteVector data;