TagPrint: use std::string_view

This commit is contained in:
Max Kellermann
2022-07-01 11:29:32 +02:00
parent ed7263ee3e
commit 96f99aeb8f
3 changed files with 3 additions and 5 deletions

View File

@@ -21,18 +21,18 @@
#define MPD_TAG_PRINT_HXX
#include <cstdint>
#include <string_view>
enum TagType : uint8_t;
struct Tag;
struct StringView;
class Response;
void
tag_print_types(Response &response) noexcept;
void
tag_print(Response &response, TagType type, StringView value) noexcept;
tag_print(Response &response, TagType type, std::string_view value) noexcept;
void
tag_print(Response &response, TagType type, const char *value) noexcept;