From 4b2d9e544c168c0c876e366e806416df31dc8607 Mon Sep 17 00:00:00 2001 From: Cebtenzzre Date: Wed, 23 Jun 2021 17:39:30 -0400 Subject: tag/Pool: add [[nodiscard]] --- src/tag/Pool.hxx | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3