summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2021-06-23 17:39:30 -0400
committerMax Kellermann <max@musicpd.org>2021-08-05 14:20:59 +0200
commit4b2d9e544c168c0c876e366e806416df31dc8607 (patch)
treef019d5b24565248cad71132e7252bceb67bf1bc5
parent97c43954e8df3f772899cda951ad5a7dd4a24f25 (diff)
tag/Pool: add [[nodiscard]]
-rw-r--r--src/tag/Pool.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tag/Pool.hxx b/src/tag/Pool.hxx
index 54df15c89..9ec9ab0cb 100644
--- a/src/tag/Pool.hxx
+++ b/src/tag/Pool.hxx
@@ -28,9 +28,11 @@ extern Mutex tag_pool_lock;
struct TagItem;
struct StringView;
+[[nodiscard]]
TagItem *
tag_pool_get_item(TagType type, StringView value) noexcept;
+[[nodiscard]]
TagItem *
tag_pool_dup_item(TagItem *item) noexcept;