mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix GCC 15 -Wrange-loop-construct
This commit is contained in:
@@ -198,7 +198,7 @@ object_ptr<ShareBox> ShareInviteLinkBox(
|
||||
comment.text = link;
|
||||
}
|
||||
auto &api = peer->session().api();
|
||||
for (const auto thread : result) {
|
||||
for (const auto &thread : result) {
|
||||
auto message = Api::MessageToSend(
|
||||
Api::SendAction(thread, options));
|
||||
message.textWithTags = comment;
|
||||
|
||||
Reference in New Issue
Block a user