From b273505c2899242aa112718c12033b02ac685b69 Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Sat, 15 Jul 2023 16:21:51 +0200 Subject: [PATCH] clang-tidy: static accessed through instance. run-clang-tidy -header-filter='.*' -checks='-*,readability-static-accessed-through-instance' -fix --- taglib/mpeg/id3v2/id3v2tag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taglib/mpeg/id3v2/id3v2tag.cpp b/taglib/mpeg/id3v2/id3v2tag.cpp index a7be802a..bc6c56f4 100644 --- a/taglib/mpeg/id3v2/id3v2tag.cpp +++ b/taglib/mpeg/id3v2/id3v2tag.cpp @@ -789,7 +789,7 @@ void ID3v2::Tag::parse(const ByteVector &origData) // Make sure that there is at least enough room in the remaining frame data for // a frame header. - while(frameDataPosition < frameDataLength - d->header.size()) { + while(frameDataPosition < frameDataLength - TagLib::ID3v2::Header::size()) { // If the next data is position is 0, assume that we've hit the padding // portion of the frame data.