mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 00:10:59 +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
|
// id::id
|
||||||
//
|
//
|
||||||
|
|
||||||
ircd::m::id::id(const string_view &id)
|
ircd::m::id::id(const string_view &str)
|
||||||
:string_view{id}
|
:id
|
||||||
|
{
|
||||||
|
m::sigil(str), str
|
||||||
|
}
|
||||||
{
|
{
|
||||||
validate(m::sigil(id), id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ircd::m::id::id(const id::sigil &sigil,
|
ircd::m::id::id(const id::sigil &sigil,
|
||||||
|
|
Loading…
Reference in a new issue