tag/Builder: remove unnecessary explicit AddItem() overload

This commit is contained in:
Max Kellermann 2023-09-06 16:10:21 +02:00
parent 2f4e2935a3
commit a573d57de8
2 changed files with 0 additions and 15 deletions

View File

@ -213,12 +213,6 @@ TagBuilder::AddItem(TagType type, std::string_view value) noexcept
AddItemInternal(type, value); AddItemInternal(type, value);
} }
void
TagBuilder::AddItem(TagType type, const char *value) noexcept
{
AddItem(type, std::string_view(value));
}
void void
TagBuilder::AddEmptyItem(TagType type) noexcept TagBuilder::AddEmptyItem(TagType type) noexcept
{ {

View File

@ -132,15 +132,6 @@ public:
*/ */
void AddItem(TagType type, std::string_view value) noexcept; void AddItem(TagType type, std::string_view value) noexcept;
/**
* Appends a new tag item.
*
* @param type the type of the new tag item
* @param value the value of the tag item (null-terminated)
*/
[[gnu::nonnull]]
void AddItem(TagType type, const char *value) noexcept;
/** /**
* Appends a new tag item with an empty value. Do not use * Appends a new tag item with an empty value. Do not use
* this unless you know what you're doing - because usually, * this unless you know what you're doing - because usually,