diff --git a/src/util/StringView.hxx b/src/util/StringView.hxx index 1636160e0..dda2edc44 100644 --- a/src/util/StringView.hxx +++ b/src/util/StringView.hxx @@ -126,6 +126,22 @@ struct WStringView : BasicStringView { :BasicStringView(src) {} }; +struct TStringView : WStringView { + using WStringView::WStringView; + + constexpr TStringView(WStringView src) noexcept + :WStringView(src) {} +}; + +#else + +struct TStringView : StringView { + using StringView::StringView; + + constexpr TStringView(StringView src) noexcept + :StringView(src) {} +}; + #endif #endif