From 225c73e1816c3200c67703557972586e287fa665 Mon Sep 17 00:00:00 2001 From: Christian Schmitz Date: Fri, 22 Nov 2024 06:55:34 +0100 Subject: [PATCH] Fixed warning about shadowing variable (#1254) You can't name parameter and structure field the same as complier frequently complain about this. --- taglib/mp4/mp4atom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taglib/mp4/mp4atom.h b/taglib/mp4/mp4atom.h index 0dca96cd..58e13a3b 100644 --- a/taglib/mp4/mp4atom.h +++ b/taglib/mp4/mp4atom.h @@ -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;