Skip to content

Commit 225c73e

Browse files
Fixed warning about shadowing variable (#1254)
You can't name parameter and structure field the same as complier frequently complain about this.
1 parent 90f62a3 commit 225c73e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

taglib/mp4/mp4atom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ namespace TagLib {
6060

6161
#ifndef DO_NOT_DOCUMENT
6262
struct AtomData {
63-
AtomData(AtomDataType type, const ByteVector &data) :
64-
type(type), data(data) { }
63+
AtomData(AtomDataType ptype, const ByteVector &pdata) :
64+
type(ptype), data(pdata) { }
6565
AtomDataType type;
6666
int locale { 0 };
6767
ByteVector data;

0 commit comments

Comments
 (0)