mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
ircd:Ⓜ️:pretty: Relax definedness requirement of fields.
This commit is contained in:
parent
84039ad1e7
commit
257e335dad
1 changed files with 3 additions and 3 deletions
|
@ -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