tag/Pool: add [[nodiscard]]

This commit is contained in:
Cebtenzzre 2021-06-23 17:39:30 -04:00 committed by Max Kellermann
parent 97c43954e8
commit 4b2d9e544c

View File

@ -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;