Workaround MSVC 17.3.2 ICE.

This commit is contained in:
John Preston 2022-08-26 09:45:46 +04:00
parent 82d68f5b98
commit 7b005c64e0

View file

@ -2612,6 +2612,9 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
refreshStickers(); refreshStickers();
return; return;
} }
const auto cancelled = [](Fn<void()> &&close) {
close();
};
checkHideWithBox(controller()->show(Ui::MakeConfirmBox({ checkHideWithBox(controller()->show(Ui::MakeConfirmBox({
.text = tr::lng_stickers_remove_group_set(), .text = tr::lng_stickers_remove_group_set(),
.confirmed = crl::guard(this, [this, group = _megagroupSet]( .confirmed = crl::guard(this, [this, group = _megagroupSet](
@ -2623,9 +2626,7 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
} }
close(); close();
}), }),
.cancelled = [](Fn<void()> &&close) { .cancelled = cancelled,
close();
},
}))); })));
} }