util/StringView: add default constructors
It was implicitly deleted since commit
db23c2f27b
This commit is contained in:
@@ -113,6 +113,7 @@ struct BasicStringView : ConstBuffer<T> {
|
||||
struct StringView : BasicStringView<char> {
|
||||
using BasicStringView::BasicStringView;
|
||||
|
||||
StringView() = default;
|
||||
constexpr StringView(BasicStringView<value_type> src) noexcept
|
||||
:BasicStringView(src) {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user