mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️🆔 Delegate string_view ctor.
This commit is contained in:
parent
ed5af1fdbd
commit
8ea404a66a
1 changed files with 5 additions and 3 deletions
|
@ -366,10 +366,12 @@ const
|
|||
// id::id
|
||||
//
|
||||
|
||||
ircd::m::id::id(const string_view &id)
|
||||
:string_view{id}
|
||||
ircd::m::id::id(const string_view &str)
|
||||
:id
|
||||
{
|
||||
m::sigil(str), str
|
||||
}
|
||||
{
|
||||
validate(m::sigil(id), id);
|
||||
}
|
||||
|
||||
ircd::m::id::id(const id::sigil &sigil,
|
||||
|
|
Loading…
Reference in a new issue