From e2373cea8f94ae79a7155c143e2d70b235892187 Mon Sep 17 00:00:00 2001 From: Christian Schmitz Date: Thu, 21 Nov 2024 20:00:16 +0100 Subject: [PATCH] Fixed warning about shadowing variable 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;