mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 13:18:58 +02:00
ircd: Default argument ctor for byte_view.
This commit is contained in:
parent
46588d0ae8
commit
841567bdf8
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ struct ircd::byte_view
|
|||
return *reinterpret_cast<const T *>(s.data());
|
||||
}
|
||||
|
||||
byte_view(const string_view &s)
|
||||
byte_view(const string_view &s = {})
|
||||
:s{s}
|
||||
{
|
||||
if(unlikely(sizeof(T) != s.size()))
|
||||
|
|
Loading…
Reference in a new issue