mirror of
https://github.com/matrix-construct/construct
synced 2024-11-12 13:01:07 +01:00
ircd:Ⓜ️:room: Use string_view literal for better template inst.
This commit is contained in:
parent
5b8092e407
commit
d2427fe4da
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ ircd::m::version(const mutable_buffer &buf,
|
||||||
{
|
{
|
||||||
const json::string &version
|
const json::string &version
|
||||||
{
|
{
|
||||||
content.get("room_version", "1")
|
content.get("room_version", "1"_sv)
|
||||||
};
|
};
|
||||||
|
|
||||||
ret = strlcpy
|
ret = strlcpy
|
||||||
|
|
Loading…
Reference in a new issue