tag/MixRamp: [[gnu::...]] attributes
This commit is contained in:
parent
6009d4abab
commit
a45949b597
@ -55,7 +55,7 @@ ParseMixRampTag(MixRampInfo &info,
|
|||||||
const char *name;
|
const char *name;
|
||||||
const char *value;
|
const char *value;
|
||||||
|
|
||||||
gcc_pure
|
[[gnu::pure]]
|
||||||
StringView operator[](const char *n) const noexcept {
|
StringView operator[](const char *n) const noexcept {
|
||||||
return StringEqualsCaseASCII(name, n)
|
return StringEqualsCaseASCII(name, n)
|
||||||
? value
|
? value
|
||||||
@ -72,7 +72,7 @@ ParseMixRampVorbis(MixRampInfo &info, StringView entry) noexcept
|
|||||||
struct VorbisCommentEntry {
|
struct VorbisCommentEntry {
|
||||||
StringView entry;
|
StringView entry;
|
||||||
|
|
||||||
gcc_pure
|
[[gnu::pure]]
|
||||||
StringView operator[](StringView n) const noexcept {
|
StringView operator[](StringView n) const noexcept {
|
||||||
return GetVorbisCommentValue(entry, n);
|
return GetVorbisCommentValue(entry, n);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user