util/StringView: add default constructors

It was implicitly deleted since commit
db23c2f27b
This commit is contained in:
Max Kellermann
2017-09-13 12:59:31 +02:00
parent 8d9347edc5
commit e4f62483ff
3 changed files with 4 additions and 0 deletions

View File

@@ -36,6 +36,7 @@
struct TStringView : WStringView {
using WStringView::WStringView;
TStringView() = default;
constexpr TStringView(WStringView src) noexcept
:WStringView(src) {}
};
@@ -46,6 +47,7 @@ struct TStringView : WStringView {
struct TStringView : StringView {
using StringView::StringView;
TStringView() = default;
constexpr TStringView(StringView src) noexcept
:StringView(src) {}
};