0
0
Fork 0
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:
Jason Volk 2020-11-30 23:57:55 -08:00
parent 5b8092e407
commit d2427fe4da

View file

@ -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