Browse Source

types: view default init missing

pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
af0cf39682
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      code/espurna/types.h

+ 5
- 1
code/espurna/types.h View File

@ -208,7 +208,11 @@ private:
};
struct StringView {
StringView() noexcept = default;
constexpr StringView() noexcept :
_ptr(nullptr),
_len(0)
{}
~StringView() = default;
StringView(std::nullptr_t) = delete;


Loading…
Cancel
Save