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:
parent
84039ad1e7
commit
257e335dad
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue