mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Fix GCC 15 -Wrange-loop-construct
This commit is contained in:
@@ -3201,7 +3201,7 @@ base::weak_qptr<Ui::BoxContent> ShowForwardMessagesBox(
|
||||
const auto sendMenuType = [=] {
|
||||
const auto selected = state->box->collectSelectedRows();
|
||||
const auto hasPaid = [&] {
|
||||
for (const auto peer : selected) {
|
||||
for (const auto &peer : selected) {
|
||||
if (peer->starsPerMessageChecked()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user