tag/Builder: remove unnecessary explicit AddItem() overload
This commit is contained in:
parent
2f4e2935a3
commit
a573d57de8
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue