Commit a45949b5 authored by Max Kellermann's avatar Max Kellermann

tag/MixRamp: [[gnu::...]] attributes

parent 6009d4ab
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment