mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd:Ⓜ️:breadcrumbs: Use non-reference type; range loop copy warning.
This commit is contained in:
parent
5636ad543a
commit
57c27d7507
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ const
|
|||
get(std::nothrow, [&closure, &ret]
|
||||
(const json::array &rooms)
|
||||
{
|
||||
for(const json::string &room : rooms)
|
||||
if(!closure(room))
|
||||
for(const json::string room_id : rooms)
|
||||
if(!closure(room_id))
|
||||
{
|
||||
ret = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue