Skip to content

Commit 91b00b1

Browse files
committed
Missing const here
1 parent e116824 commit 91b00b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

taglib/mpeg/id3v2/id3v2tag.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,13 @@ ByteVector ID3v2::Tag::render() const
480480
void ID3v2::Tag::downgradeFrames(FrameList *frames, FrameList *newFrames) const
481481
{
482482
#ifdef NO_ITUNES_HACKS
483-
static std::array<ByteVector, 13> unsupportedFrames = {
483+
static const std::array<ByteVector, 13> unsupportedFrames = {
484484
"ASPI", "EQU2", "RVA2", "SEEK", "SIGN", "TDRL", "TDTG",
485485
"TMOO", "TPRO", "TSOA", "TSOT", "TSST", "TSOP"
486486
};
487487
#else
488488
// iTunes writes and reads TSOA, TSOT, TSOP to ID3v2.3.
489-
static std::array<ByteVector, 10> unsupportedFrames = {
489+
static const std::array<ByteVector, 10> unsupportedFrames = {
490490
"ASPI", "EQU2", "RVA2", "SEEK", "SIGN", "TDRL", "TDTG",
491491
"TMOO", "TPRO", "TSST"
492492
};

0 commit comments

Comments
 (0)