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

ircd:Ⓜ️:breadcrumbs: Use non-reference type; range loop copy warning.

This commit is contained in:
Jason Volk 2020-08-23 02:36:01 -07:00
parent 5636ad543a
commit 57c27d7507

View file

@ -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;