From 756d16220ef4b76df4c5de4de6f7693f83008216 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 26 May 2022 13:22:38 -0700 Subject: [PATCH] ircd::m: Fix range-loop-construct warning (clang). --- matrix/room_create.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/room_create.cc b/matrix/room_create.cc index 698111fb1..fbd01b1e5 100644 --- a/matrix/room_create.cc +++ b/matrix/room_create.cc @@ -117,7 +117,7 @@ try if(preset != "trusted_private_chat") return; - for(const json::string &user_id : json::get<"invite"_>(c)) + for(const json::string user_id : json::get<"invite"_>(c)) if(valid(id::USER, user_id)) json::stack::member {