TagPrint: use std::string_view
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user