diff --git a/src/tag/MixRamp.cxx b/src/tag/MixRamp.cxx index e1e520a64..6af84931f 100644 --- a/src/tag/MixRamp.cxx +++ b/src/tag/MixRamp.cxx @@ -55,7 +55,7 @@ ParseMixRampTag(MixRampInfo &info, const char *name; const char *value; - gcc_pure + [[gnu::pure]] StringView operator[](const char *n) const noexcept { return StringEqualsCaseASCII(name, n) ? value @@ -72,7 +72,7 @@ ParseMixRampVorbis(MixRampInfo &info, StringView entry) noexcept struct VorbisCommentEntry { StringView entry; - gcc_pure + [[gnu::pure]] StringView operator[](StringView n) const noexcept { return GetVorbisCommentValue(entry, n); }