diff --git a/src/util/StringView.cxx b/src/util/StringView.cxx index b663291d8..083cab103 100644 --- a/src/util/StringView.cxx +++ b/src/util/StringView.cxx @@ -47,3 +47,7 @@ BasicStringView::StripRight() noexcept } template struct BasicStringView; + +#ifdef _UNICODE +template struct BasicStringView; +#endif diff --git a/src/util/StringView.hxx b/src/util/StringView.hxx index a894569c6..21ba1f80f 100644 --- a/src/util/StringView.hxx +++ b/src/util/StringView.hxx @@ -114,4 +114,12 @@ struct StringView : BasicStringView { using BasicStringView::BasicStringView; }; +#ifdef _UNICODE + +struct WStringView : BasicStringView { + using BasicStringView::BasicStringView; +}; + +#endif + #endif