tag/Handler: use std::string_view instead of StringView

This commit is contained in:
Max Kellermann
2022-06-29 16:44:23 +02:00
parent ca9dd74fbf
commit ec66ee3bfb
7 changed files with 38 additions and 30 deletions

View File

@@ -148,7 +148,7 @@ public:
explicit PrintTagHandler(Response &_response) noexcept
:NullTagHandler(WANT_TAG), response(_response) {}
void OnTag(TagType type, StringView value) noexcept override {
void OnTag(TagType type, std::string_view value) noexcept override {
if (response.GetClient().tag_mask.Test(type))
tag_print(response, type, value);
}