util/TemplateString: remove StringView support

This commit is contained in:
Max Kellermann 2022-07-04 14:59:10 +02:00
parent 683f0da2e7
commit 422c1e9288

View File

@ -30,8 +30,6 @@
#ifndef TEMPLATE_STRING_HXX
#define TEMPLATE_STRING_HXX
#include "StringView.hxx"
#include <array> // for std::size()
#include <cstddef>
#include <string_view>
@ -50,10 +48,6 @@ struct Buffer {
constexpr operator std::string_view() const noexcept {
return {value, size};
}
constexpr operator StringView() const noexcept {
return {value, size};
}
};
/**