diff --git a/src/util/SpanCast.hxx b/src/util/SpanCast.hxx index a97edb6b2..b99e5111e 100644 --- a/src/util/SpanCast.hxx +++ b/src/util/SpanCast.hxx @@ -88,6 +88,12 @@ ToStringView(std::span s) noexcept return ToStringView(FromBytesStrict(s)); } +constexpr std::string_view +ToStringView(std::span s) noexcept +{ + return ToStringView(FromBytesStrict(s)); +} + template constexpr std::basic_string_view ToStringView(std::span s) noexcept