Commit 08500be2 authored by Max Kellermann's avatar Max Kellermann

tag/VorbisComment: use [[gnu::pure]]

parent 3ef7d8fe
......@@ -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;
......
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