tag/Pool: add [[nodiscard]]
This commit is contained in:
parent
97c43954e8
commit
4b2d9e544c
@ -28,9 +28,11 @@ extern Mutex tag_pool_lock;
|
|||||||
struct TagItem;
|
struct TagItem;
|
||||||
struct StringView;
|
struct StringView;
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
TagItem *
|
TagItem *
|
||||||
tag_pool_get_item(TagType type, StringView value) noexcept;
|
tag_pool_get_item(TagType type, StringView value) noexcept;
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
TagItem *
|
TagItem *
|
||||||
tag_pool_dup_item(TagItem *item) noexcept;
|
tag_pool_dup_item(TagItem *item) noexcept;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user