0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-08 04:58:58 +02:00

ircd:Ⓜ️:pretty: Relax definedness requirement of fields.

This commit is contained in:
Jason Volk 2020-03-01 14:20:05 -08:00
parent 84039ad1e7
commit 257e335dad

View file

@ -82,17 +82,17 @@ ircd::m::pretty_stateline(std::ostream &out,
const auto &type
{
at<"type"_>(event)
json::get<"type"_>(event)
};
const auto &state_key
{
at<"state_key"_>(event)
json::get<"state_key"_>(event)
};
const auto &depth
{
at<"depth"_>(event)
json::get<"depth"_>(event)
};
thread_local char smbuf[48];