diff --git a/src/tag/VorbisComment.hxx b/src/tag/VorbisComment.hxx index 23ce9f110..4588f0211 100644 --- a/src/tag/VorbisComment.hxx +++ b/src/tag/VorbisComment.hxx @@ -20,15 +20,13 @@ #ifndef MPD_TAG_VORBIS_COMMENT_HXX #define MPD_TAG_VORBIS_COMMENT_HXX -#include "util/Compiler.h" - struct StringView; /** * Checks if the specified name matches the entry's name, and if yes, * returns the comment value. */ -gcc_pure +[[gnu::pure]] StringView GetVorbisCommentValue(StringView entry, StringView name) noexcept;