mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:fetch: Fix clang loop reference variable warning.
This commit is contained in:
parent
a92bb97e80
commit
a07498f0fe
1 changed files with 4 additions and 4 deletions
|
@ -829,9 +829,9 @@ ircd::m::fetch::check_response__auth(const request &request,
|
|||
response.at("auth_chain")
|
||||
};
|
||||
|
||||
for(const json::object &auth_event : auth_chain)
|
||||
for(const json::object auth_event : auth_chain)
|
||||
{
|
||||
event::id::buf event_id;
|
||||
m::event::id::buf event_id;
|
||||
const m::event event
|
||||
{
|
||||
event_id, auth_event
|
||||
|
@ -867,9 +867,9 @@ ircd::m::fetch::check_response__backfill(const request &request,
|
|||
response.at("pdus")
|
||||
};
|
||||
|
||||
for(const json::object &event : pdus)
|
||||
for(const json::object event : pdus)
|
||||
{
|
||||
event::id::buf event_id;
|
||||
m::event::id::buf event_id;
|
||||
const m::event _event
|
||||
{
|
||||
event_id, event
|
||||
|
|
Loading…
Reference in a new issue