diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/StringView.hxx | 1 | ||||
-rw-r--r-- | src/util/TStringView.hxx | 2 | ||||
-rw-r--r-- | src/util/WStringView.hxx | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/util/StringView.hxx b/src/util/StringView.hxx index 903870edf..ecf6ed82a 100644 --- a/src/util/StringView.hxx +++ b/src/util/StringView.hxx @@ -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) {} }; diff --git a/src/util/TStringView.hxx b/src/util/TStringView.hxx index fd8a3bf42..ccfee8cd3 100644 --- a/src/util/TStringView.hxx +++ b/src/util/TStringView.hxx @@ -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) {} }; diff --git a/src/util/WStringView.hxx b/src/util/WStringView.hxx index 4be668ade..5ae8f7e25 100644 --- a/src/util/WStringView.hxx +++ b/src/util/WStringView.hxx @@ -35,6 +35,7 @@ struct WStringView : BasicStringView<wchar_t> { using BasicStringView::BasicStringView; + WStringView() = default; constexpr WStringView(BasicStringView<value_type> src) noexcept :BasicStringView(src) {} }; |