clang-tidy: static accessed through instance.

run-clang-tidy -header-filter='.*' -checks='-*,readability-static-accessed-through-instance' -fix
This commit is contained in:
Urs Fleisch 2023-07-15 16:21:51 +02:00
parent abc6c31890
commit b273505c28

View File

@ -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.